Commit 54a26d8
committed
fix(agent-runtime): chain XML tool calls properly to fix missing messages
The bug was that previousPromise was captured at callback creation time
instead of execution time, causing each XML tool call to start fresh
rather than waiting for the previous one. This fix reads
previousToolCallFinished at execution time inside onTagEnd.1 parent 0edd693 commit 54a26d8
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
0 commit comments