mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-19 16:12:30 +00:00
refactor(loop): log turn completion with state count
This commit is contained in:
parent
728d837e4e
commit
de13e72e15
@ -1325,6 +1325,11 @@ class AgentLoop:
|
||||
)
|
||||
ctx.state = next_state
|
||||
|
||||
logger.debug(
|
||||
"[turn {}] Turn completed after {} states",
|
||||
ctx.turn_id,
|
||||
len(ctx.trace),
|
||||
)
|
||||
return ctx.outbound
|
||||
|
||||
def _assemble_outbound(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user