@ai-sdk/anthropic 3.0.41 → 3.0.43

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
@@ -12,7 +12,7 @@ import {
12
12
  } from "@ai-sdk/provider-utils";
13
13
 
14
14
  // src/version.ts
15
- var VERSION = true ? "3.0.41" : "0.0.0-test";
15
+ var VERSION = true ? "3.0.43" : "0.0.0-test";
16
16
 
17
17
  // src/anthropic-messages-language-model.ts
18
18
  import {
@@ -762,7 +762,7 @@ var anthropicFilePartProviderOptions = z3.object({
762
762
  */
763
763
  context: z3.string().optional()
764
764
  });
765
- var anthropicProviderOptions = z3.object({
765
+ var anthropicLanguageModelOptions = z3.object({
766
766
  /**
767
767
  * Whether to send reasoning to the model.
768
768
  *
@@ -2590,12 +2590,12 @@ var AnthropicMessagesLanguageModel = class {
2590
2590
  const canonicalOptions = await parseProviderOptions2({
2591
2591
  provider: "anthropic",
2592
2592
  providerOptions,
2593
- schema: anthropicProviderOptions
2593
+ schema: anthropicLanguageModelOptions
2594
2594
  });
2595
2595
  const customProviderOptions = providerOptionsName !== "anthropic" ? await parseProviderOptions2({
2596
2596
  provider: providerOptionsName,
2597
2597
  providerOptions,
2598
- schema: anthropicProviderOptions
2598
+ schema: anthropicLanguageModelOptions
2599
2599
  }) : null;
2600
2600
  const usedCustomProviderKey = customProviderOptions != null;
2601
2601
  const anthropicOptions = Object.assign(