@ai-sdk/anthropic 3.0.0-beta.62 → 3.0.0-beta.64

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.
@@ -1,4 +1,4 @@
1
- import { LanguageModelV3, JSONSchema7, SharedV3ProviderMetadata, LanguageModelV3CallWarning, LanguageModelV3CallOptions } from '@ai-sdk/provider';
1
+ import { LanguageModelV3, JSONSchema7, SharedV3ProviderMetadata, SharedV3Warning, LanguageModelV3CallOptions } from '@ai-sdk/provider';
2
2
  import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';
3
3
  import { Resolvable, FetchFunction } from '@ai-sdk/provider-utils';
4
4
 
@@ -551,7 +551,7 @@ declare class CacheControlValidator {
551
551
  type: string;
552
552
  canCache: boolean;
553
553
  }): AnthropicCacheControl | undefined;
554
- getWarnings(): LanguageModelV3CallWarning[];
554
+ getWarnings(): SharedV3Warning[];
555
555
  }
556
556
 
557
557
  declare function prepareTools({ tools, toolChoice, disableParallelToolUse, cacheControlValidator, }: {
@@ -562,7 +562,7 @@ declare function prepareTools({ tools, toolChoice, disableParallelToolUse, cache
562
562
  }): Promise<{
563
563
  tools: Array<AnthropicTool> | undefined;
564
564
  toolChoice: AnthropicToolChoice | undefined;
565
- toolWarnings: LanguageModelV3CallWarning[];
565
+ toolWarnings: SharedV3Warning[];
566
566
  betas: Set<string>;
567
567
  }>;
568
568
 
@@ -1,4 +1,4 @@
1
- import { LanguageModelV3, JSONSchema7, SharedV3ProviderMetadata, LanguageModelV3CallWarning, LanguageModelV3CallOptions } from '@ai-sdk/provider';
1
+ import { LanguageModelV3, JSONSchema7, SharedV3ProviderMetadata, SharedV3Warning, LanguageModelV3CallOptions } from '@ai-sdk/provider';
2
2
  import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';
3
3
  import { Resolvable, FetchFunction } from '@ai-sdk/provider-utils';
4
4
 
@@ -551,7 +551,7 @@ declare class CacheControlValidator {
551
551
  type: string;
552
552
  canCache: boolean;
553
553
  }): AnthropicCacheControl | undefined;
554
- getWarnings(): LanguageModelV3CallWarning[];
554
+ getWarnings(): SharedV3Warning[];
555
555
  }
556
556
 
557
557
  declare function prepareTools({ tools, toolChoice, disableParallelToolUse, cacheControlValidator, }: {
@@ -562,7 +562,7 @@ declare function prepareTools({ tools, toolChoice, disableParallelToolUse, cache
562
562
  }): Promise<{
563
563
  tools: Array<AnthropicTool> | undefined;
564
564
  toolChoice: AnthropicToolChoice | undefined;
565
- toolWarnings: LanguageModelV3CallWarning[];
565
+ toolWarnings: SharedV3Warning[];
566
566
  betas: Set<string>;
567
567
  }>;
568
568