@ai-sdk/anthropic 3.0.0-beta.67 → 3.0.0-beta.68
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 +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- 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 +1 -1
package/dist/internal/index.js
CHANGED
|
@@ -2849,7 +2849,7 @@ var AnthropicMessagesLanguageModel = class {
|
|
|
2849
2849
|
type: "tool-call",
|
|
2850
2850
|
toolCallId: contentBlock.toolCallId,
|
|
2851
2851
|
toolName,
|
|
2852
|
-
input: contentBlock.input,
|
|
2852
|
+
input: contentBlock.input === "" ? "{}" : contentBlock.input,
|
|
2853
2853
|
providerExecuted: contentBlock.providerExecuted
|
|
2854
2854
|
});
|
|
2855
2855
|
}
|