MCPcopy Create free account
hub / github.com/T0UGH/codex-self-evolution-plugin / _query_hash

Function _query_hash

src/codex_self_evolution/csep.py:34–35  ·  view source on GitHub ↗
(query: str)

Source from the content-addressed store, hash-verified

32
33
34def _query_hash(query: str) -> str:
35 return hashlib.sha1(query.encode("utf-8")).hexdigest()[:12]
36
37
38def _log_recall(started: float, *, cwd: str, query: str, result: dict[str, Any], output_format: str, exit_code: int) -> None:

Callers 1

_log_recallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected