Commit 9e0444a
committed
fix: the aisdk extension should grab output when toolCalls is a blank array
When the output of a provider includes an empty tool calls array, we'd mistakenly skip over the text result. This patch checks for that condition.1 parent d639151 commit 9e0444a
File tree
2 files changed
+11
-1
lines changed- .changeset
- packages/agents-extensions/src
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
467 | 470 | | |
468 | 471 | | |
469 | 472 | | |
| |||
0 commit comments