Commit 4321de7
committed
Fix premature end_of_agent in sub-agent resumption.
The sub-agent resumption logic was incorrectly marking the agent as finished
even if the sub-agent had merely paused (e.g., to wait for a long-running
operation). This change tracks whether the sub-agent paused, and only
marks the agent as finished if no pause occurred.
Fixes #53491 parent 8c4ff74 commit 4321de7
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
185 | 193 | | |
186 | 194 | | |
187 | 195 | | |
| |||
466 | 474 | | |
467 | 475 | | |
468 | 476 | | |
| 477 | + | |
469 | 478 | | |
470 | 479 | | |
| 480 | + | |
| 481 | + | |
471 | 482 | | |
472 | 483 | | |
473 | | - | |
474 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
475 | 487 | | |
476 | 488 | | |
477 | 489 | | |
| |||
0 commit comments