@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/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  } from "@ai-sdk/provider-utils";
12
12
 
13
13
  // src/version.ts
14
- var VERSION = true ? "3.0.0-beta.67" : "0.0.0-test";
14
+ var VERSION = true ? "3.0.0-beta.68" : "0.0.0-test";
15
15
 
16
16
  // src/anthropic-messages-language-model.ts
17
17
  import {
@@ -2877,7 +2877,7 @@ var AnthropicMessagesLanguageModel = class {
2877
2877
  type: "tool-call",
2878
2878
  toolCallId: contentBlock.toolCallId,
2879
2879
  toolName,
2880
- input: contentBlock.input,
2880
+ input: contentBlock.input === "" ? "{}" : contentBlock.input,
2881
2881
  providerExecuted: contentBlock.providerExecuted
2882
2882
  });
2883
2883
  }