mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-03 09:52:33 +00:00
style(memory): use loguru {} formatting in warning
This commit is contained in:
parent
b9eb9d4963
commit
d546cbac6e
@ -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"):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user