Skip to content

Your lightweight open-source personal agent.

style(memory): use loguru {} formatting in warning

Re-bind546cbac6ed6
diff --git a/nanobot/agent/memory.py b/nanobot/agent/memory.py
index 978b1bc38..93c18258a 100644
--- a/nanobot/agent/memory.py
+++ b/nanobot/agent/memory.py
@@ -129,7 +129,7 @@ class MemoryStore:
if isinstance(args, str):
args = json.loads(args)
if not isinstance(args, dict):
- logger.warning("Memory consolidation: unexpected arguments type %s", type(args).__name__)
+ logger.warning("Memory consolidation: unexpected arguments type {}", type(args).__name__)
return False
if entry := args.get("history_entry"):