@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.
- package/CHANGELOG.md +17 -0
- package/dist/index.js +485 -437
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +488 -438
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +3 -3
- package/dist/internal/index.d.ts +3 -3
- package/dist/internal/index.js +484 -436
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +487 -437
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LanguageModelV3, JSONSchema7, SharedV3ProviderMetadata,
|
|
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():
|
|
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:
|
|
565
|
+
toolWarnings: SharedV3Warning[];
|
|
566
566
|
betas: Set<string>;
|
|
567
567
|
}>;
|
|
568
568
|
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LanguageModelV3, JSONSchema7, SharedV3ProviderMetadata,
|
|
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():
|
|
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:
|
|
565
|
+
toolWarnings: SharedV3Warning[];
|
|
566
566
|
betas: Set<string>;
|
|
567
567
|
}>;
|
|
568
568
|
|