refactor(loop): log turn completion with state count
This commit is contained in:
@@ -1325,6 +1325,11 @@ class AgentLoop:
|
|||||||
)
|
)
|
||||||
ctx.state = next_state
|
ctx.state = next_state
|
||||||
|
|
||||||
|
logger.debug(
|
||||||
|
"[turn {}] Turn completed after {} states",
|
||||||
|
ctx.turn_id,
|
||||||
|
len(ctx.trace),
|
||||||
|
)
|
||||||
return ctx.outbound
|
return ctx.outbound
|
||||||
|
|
||||||
def _assemble_outbound(
|
def _assemble_outbound(
|
||||||
|
|||||||
Reference in New Issue
Block a user