diff --git a/nanobot/agent/loop.py b/nanobot/agent/loop.py index 0a4d09d49..e6811ee65 100644 --- a/nanobot/agent/loop.py +++ b/nanobot/agent/loop.py @@ -1270,6 +1270,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(