@ai-sdk/anthropic 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/anthropic
|
|
2
2
|
|
|
3
|
+
## 2.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cdc6b7a: fix(provider/anthropic): disable parallel tool use when using json output tool for structured responses
|
|
8
|
+
|
|
9
|
+
## 2.0.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [886e7cd]
|
|
14
|
+
- @ai-sdk/provider-utils@3.0.7
|
|
15
|
+
|
|
3
16
|
## 2.0.7
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1033,7 +1033,7 @@ var AnthropicMessagesLanguageModel = class {
|
|
|
1033
1033
|
jsonResponseTool != null ? {
|
|
1034
1034
|
tools: [jsonResponseTool],
|
|
1035
1035
|
toolChoice: { type: "tool", toolName: jsonResponseTool.name },
|
|
1036
|
-
disableParallelToolUse:
|
|
1036
|
+
disableParallelToolUse: true
|
|
1037
1037
|
} : {
|
|
1038
1038
|
tools: tools != null ? tools : [],
|
|
1039
1039
|
toolChoice,
|