mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-06 09:28:34 +00:00
style(logging): use loguru parameterized formatting in suppression log
This commit is contained in:
parent
ddae3e9d5f
commit
8cc54b188d
@ -391,8 +391,9 @@ class AgentLoop:
|
|||||||
|
|
||||||
if suppress_final_reply:
|
if suppress_final_reply:
|
||||||
logger.info(
|
logger.info(
|
||||||
"Skipping final auto-reply because message tool already sent to "
|
"Skipping final auto-reply because message tool already sent to {}:{} in this turn",
|
||||||
f"{msg.channel}:{msg.chat_id} in this turn"
|
msg.channel,
|
||||||
|
msg.chat_id,
|
||||||
)
|
)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user