Commit ff11aee
Backport: fix(ai): fix
This is an automated backport of #14289 to the release-v6.0 branch. FYI
@felixarntz
~~This backport has conflicts that need to be resolved manually.~~
Conflicts resolved.
### `git cherry-pick` output
```
Auto-merging packages/ai/src/generate-text/generate-text.test.ts
Auto-merging packages/ai/src/generate-text/generate-text.ts
CONFLICT (content): Merge conflict in packages/ai/src/generate-text/generate-text.ts
Auto-merging packages/ai/src/generate-text/stream-text.test.ts
Auto-merging packages/ai/src/generate-text/stream-text.ts
CONFLICT (content): Merge conflict in packages/ai/src/generate-text/stream-text.ts
error: could not apply f372547... fix(ai): fix `providerExecuted` tool approvals being passed to language model twice (#14289)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
```
---------
Co-authored-by: Felix Arntz <felix.arntz@vercel.com>providerExecuted tool approvals being passed to language model twice (#14319)1 parent 9a8d276 commit ff11aee
File tree
5 files changed
+10
-80
lines changed- .changeset
- packages/ai/src/generate-text
5 files changed
+10
-80
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8404 | 8404 | | |
8405 | 8405 | | |
8406 | 8406 | | |
8407 | | - | |
| 8407 | + | |
8408 | 8408 | | |
8409 | 8409 | | |
8410 | 8410 | | |
| |||
8441 | 8441 | | |
8442 | 8442 | | |
8443 | 8443 | | |
8444 | | - | |
8445 | | - | |
8446 | | - | |
8447 | | - | |
8448 | | - | |
8449 | | - | |
8450 | 8444 | | |
8451 | 8445 | | |
8452 | 8446 | | |
| |||
8564 | 8558 | | |
8565 | 8559 | | |
8566 | 8560 | | |
8567 | | - | |
| 8561 | + | |
8568 | 8562 | | |
8569 | 8563 | | |
8570 | 8564 | | |
| |||
8616 | 8610 | | |
8617 | 8611 | | |
8618 | 8612 | | |
8619 | | - | |
8620 | | - | |
8621 | | - | |
8622 | | - | |
8623 | | - | |
8624 | | - | |
8625 | 8613 | | |
8626 | 8614 | | |
8627 | 8615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | | - | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
| |||
633 | 630 | | |
634 | 631 | | |
635 | 632 | | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | 633 | | |
659 | 634 | | |
660 | 635 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22338 | 22338 | | |
22339 | 22339 | | |
22340 | 22340 | | |
22341 | | - | |
| 22341 | + | |
22342 | 22342 | | |
22343 | 22343 | | |
22344 | 22344 | | |
| |||
22376 | 22376 | | |
22377 | 22377 | | |
22378 | 22378 | | |
22379 | | - | |
22380 | | - | |
22381 | | - | |
22382 | | - | |
22383 | | - | |
22384 | | - | |
22385 | 22379 | | |
22386 | 22380 | | |
22387 | 22381 | | |
| |||
22513 | 22507 | | |
22514 | 22508 | | |
22515 | 22509 | | |
22516 | | - | |
| 22510 | + | |
22517 | 22511 | | |
22518 | 22512 | | |
22519 | 22513 | | |
| |||
22551 | 22545 | | |
22552 | 22546 | | |
22553 | 22547 | | |
22554 | | - | |
22555 | | - | |
22556 | | - | |
22557 | | - | |
22558 | | - | |
22559 | | - | |
22560 | 22548 | | |
22561 | 22549 | | |
22562 | 22550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | | - | |
16 | | - | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
22 | | - | |
| 18 | + | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| |||
1360 | 1356 | | |
1361 | 1357 | | |
1362 | 1358 | | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | 1359 | | |
1369 | 1360 | | |
1370 | 1361 | | |
| |||
1438 | 1429 | | |
1439 | 1430 | | |
1440 | 1431 | | |
1441 | | - | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
1449 | | - | |
1450 | | - | |
1451 | | - | |
1452 | | - | |
1453 | | - | |
1454 | | - | |
1455 | | - | |
1456 | | - | |
1457 | | - | |
1458 | 1432 | | |
1459 | 1433 | | |
1460 | 1434 | | |
| |||
0 commit comments