Log memory handling at info level

This commit is contained in:
Your Name 2025-12-20 14:42:22 -06:00
parent a87778065e
commit ef410448f0

View file

@ -276,7 +276,7 @@ class GroqdConversationEntity(
elif memory_scope == "global": elif memory_scope == "global":
memory_key = "global" memory_key = "global"
LOGGER.debug( LOGGER.info(
"Memory scope=%s memory_key=%s conv_id=%s device_id=%s user_id=%s", "Memory scope=%s memory_key=%s conv_id=%s device_id=%s user_id=%s",
memory_scope, memory_scope,
memory_key, memory_key,
@ -300,7 +300,7 @@ class GroqdConversationEntity(
conversation_id = ulid.ulid_now() conversation_id = ulid.ulid_now()
history = [] history = []
LOGGER.debug( LOGGER.info(
"Conversation id=%s history_len=%s memory_scope=%s", "Conversation id=%s history_len=%s memory_scope=%s",
conversation_id, conversation_id,
len(history), len(history),
@ -491,7 +491,7 @@ class GroqdConversationEntity(
await self._store.async_save( await self._store.async_save(
{"history": self._persisted_history, "memory_index": self._memory_index} {"history": self._persisted_history, "memory_index": self._memory_index}
) )
LOGGER.debug( LOGGER.info(
"Persisted memory_key=%s history_len=%s conv_id=%s", "Persisted memory_key=%s history_len=%s conv_id=%s",
memory_key, memory_key,
len(history), len(history),