This commit is contained in:
2026-07-28 11:09:22 +07:00
parent b8254490e8
commit 0ed8be5daa
+24 -24
View File
@@ -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) │
│ │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘