Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit af52b43

Browse files
PR feedback
1 parent 7731133 commit af52b43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codegate/db/fim_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _calculate_hash_key(self, message: str, provider: str) -> str:
8181

8282
logger.debug(f"Message to hash: {message_to_hash}")
8383
hashed_content = hashlib.sha256(message_to_hash.encode("utf-8")).hexdigest()
84-
logger.debug(f"Hashed contnet: {hashed_content}")
84+
logger.debug(f"Hashed content: {hashed_content}")
8585
return hashed_content
8686

8787
def _add_cache_entry(self, hash_key: str, context: PipelineContext):
@@ -132,5 +132,5 @@ def could_store_fim_request(self, context: PipelineContext):
132132
self._add_cache_entry(hash_key, context)
133133
return True
134134

135-
logger.info(f"FIM entry already in cache: {hash_key}.")
135+
logger.debug(f"FIM entry already in cache: {hash_key}.")
136136
return False

0 commit comments

Comments
 (0)