diff --git a/docs/agent_loop_diagram.md b/docs/agent_loop_diagram.md index 8546488..0c5311f 100644 --- a/docs/agent_loop_diagram.md +++ b/docs/agent_loop_diagram.md @@ -217,30 +217,30 @@ Here's a cleaned-up version with proper alignment: │ │ AssistantMessage (finalized) │ │ │ │ │ │ │ ▼ │ -│ │ check tool_calls? │ -│ │ │ │ │ -│ │ │ │ │ -│ │ YES NO │ -│ │ │ │ │ -│ │ ▼ │ │ -│ │ execute tools │ │ -│ │ │ │ │ -│ │ ▼ │ │ -│ │ emit ToolResultMessage│ │ -│ │ │ │ │ -│ │ └─────┬─────┘ │ -│ │ │ │ -│ │ ▼ │ -│ │ append to context.messages │ -│ │ │ │ -│ │ ▼ │ -│ │ next turn │ -│ │ │ │ -│ │ ▼ │ -│ │ check pending/follow-up │ -│ │ │ │ -│ │ ▼ │ -│ └────────────────────┴──────────────────────────────────────────────────────────────────────────────────►│ +│ │ check tool_calls? │ +│ │ │ │ │ +│ │ │ │ │ +│ │ YES NO │ +│ │ │ │ │ +│ │ ▼ │ │ +│ │ execute tools │ │ +│ │ │ │ │ +│ │ ▼ │ │ +│ │ emit ToolResultMessage│ │ +│ │ │ │ │ +│ │ └─────┬─────┘ │ +│ │ │ │ +│ │ ▼ │ +│ │ append to context.messages │ +│ │ │ │ +│ │ ▼ │ +│ │ next turn │ +│ │ │ │ +│ │ ▼ │ +│ │ check pending/follow-up │ +│ │ │ │ +│ │ ▼ │ +│ └───────────────────────────────────────┴───────────────────────────────────────────────────────────────►│ │ (loop back to main loop or end) │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘