Commit 8d4acba
committed
fix(providers): harden Sakana tool-loop error + final-stream tool_choice
- Rethrow tool-loop failures instead of swallowing them, so a failed run
surfaces as a ProviderError rather than a partial success (matches LiteLLM).
- Force tool_choice: 'none' on the post-tool streaming pass so the model
cannot emit fresh tool calls that the text-only stream adapter would drop.1 parent bd422f8 commit 8d4acba
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| 441 | + | |
441 | 442 | | |
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
446 | 450 | | |
447 | 451 | | |
448 | 452 | | |
449 | | - | |
| 453 | + | |
450 | 454 | | |
451 | 455 | | |
452 | 456 | | |
453 | 457 | | |
454 | | - | |
455 | 458 | | |
456 | 459 | | |
457 | 460 | | |
| |||
0 commit comments