稳定的内容 hash。源码: prompt.rs:347-351
(content: str)
| 138 | |
| 139 | |
| 140 | def _content_hash(content: str) -> str: |
| 141 | """稳定的内容 hash。源码: prompt.rs:347-351""" |
| 142 | return hashlib.sha256(content.encode()).hexdigest() |
| 143 | |
| 144 | |
| 145 | def dedupe_instruction_files(files: list[ContextFile]) -> list[ContextFile]: |
no outgoing calls
no test coverage detected