mirror of
https://github.com/sudoxreboot/groqd
synced 2026-04-14 11:36:49 +00:00
Log memory handling at info level
This commit is contained in:
parent
a87778065e
commit
ef410448f0
1 changed files with 3 additions and 3 deletions
|
|
@ -276,7 +276,7 @@ class GroqdConversationEntity(
|
|||
elif memory_scope == "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,
|
||||
memory_key,
|
||||
|
|
@ -300,7 +300,7 @@ class GroqdConversationEntity(
|
|||
conversation_id = ulid.ulid_now()
|
||||
history = []
|
||||
|
||||
LOGGER.debug(
|
||||
LOGGER.info(
|
||||
"Conversation id=%s history_len=%s memory_scope=%s",
|
||||
conversation_id,
|
||||
len(history),
|
||||
|
|
@ -491,7 +491,7 @@ class GroqdConversationEntity(
|
|||
await self._store.async_save(
|
||||
{"history": self._persisted_history, "memory_index": self._memory_index}
|
||||
)
|
||||
LOGGER.debug(
|
||||
LOGGER.info(
|
||||
"Persisted memory_key=%s history_len=%s conv_id=%s",
|
||||
memory_key,
|
||||
len(history),
|
||||
|
|
|
|||
Loading…
Reference in a new issue