Commit dc3359a
committed
Fix #4896: Handle API streaming errors in subtasks properly
When an API streaming error occurs in a subtask, instead of reinitializing
the subtask with history (which keeps it stuck in subtask view), properly
return control to the parent task by calling finishSubTask().
This ensures that orchestrator mode can properly resume the parent task
after a subtask encounters an API streaming failure during cancellation.1 parent 2e2f83b commit dc3359a
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | | - | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
1426 | 1432 | | |
1427 | | - | |
1428 | | - | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
1429 | 1436 | | |
1430 | 1437 | | |
1431 | 1438 | | |
| |||
0 commit comments