Repository navigation
Commit 3d902df
committed
fix(server): also interrupt tool nodes whose item never arrived
Adapters report a tool call's node and its item as separate events, so a
stream lost between them left an open node with no item. Interrupt every open
tool node of the run, not only those paired with an open item.1 parent 22aa4a4 commit 3d902df
2 files changed
Lines changed: 19 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3463 | 3463 | | |
3464 | 3464 | | |
3465 | 3465 | | |
| 3466 | + | |
3466 | 3467 | | |
3467 | 3468 | | |
3468 | 3469 | | |
| |||
3477 | 3478 | | |
3478 | 3479 | | |
3479 | 3480 | | |
| 3481 | + | |
| 3482 | + | |
3480 | 3483 | | |
3481 | 3484 | | |
3482 | 3485 | | |
| |||
3490 | 3493 | | |
3491 | 3494 | | |
3492 | 3495 | | |
| 3496 | + | |
3493 | 3497 | | |
3494 | 3498 | | |
3495 | 3499 | | |
| |||
3833 | 3837 | | |
3834 | 3838 | | |
3835 | 3839 | | |
| 3840 | + | |
3836 | 3841 | | |
3837 | 3842 | | |
3838 | 3843 | | |
3839 | 3844 | | |
3840 | 3845 | | |
3841 | | - | |
| 3846 | + | |
3842 | 3847 | | |
3843 | 3848 | | |
3844 | 3849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
353 | 366 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
0 commit comments