@ai-sdk/anthropic 3.0.0-beta.54 → 3.0.0-beta.56
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 +14 -0
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +14 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +14 -0
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/internal/index.js
CHANGED
|
@@ -580,7 +580,18 @@ var anthropicFilePartProviderOptions = import_v43.z.object({
|
|
|
580
580
|
context: import_v43.z.string().optional()
|
|
581
581
|
});
|
|
582
582
|
var anthropicProviderOptions = import_v43.z.object({
|
|
583
|
+
/**
|
|
584
|
+
* Whether to send reasoning to the model.
|
|
585
|
+
*
|
|
586
|
+
* This allows you to deactivate reasoning inputs for models that do not support them.
|
|
587
|
+
*/
|
|
583
588
|
sendReasoning: import_v43.z.boolean().optional(),
|
|
589
|
+
/**
|
|
590
|
+
* Configuration for enabling Claude's extended thinking.
|
|
591
|
+
*
|
|
592
|
+
* When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer.
|
|
593
|
+
* Requires a minimum budget of 1,024 tokens and counts towards the `max_tokens` limit.
|
|
594
|
+
*/
|
|
584
595
|
thinking: import_v43.z.object({
|
|
585
596
|
type: import_v43.z.union([import_v43.z.literal("enabled"), import_v43.z.literal("disabled")]),
|
|
586
597
|
budgetTokens: import_v43.z.number().optional()
|
|
@@ -598,6 +609,9 @@ var anthropicProviderOptions = import_v43.z.object({
|
|
|
598
609
|
type: import_v43.z.literal("ephemeral"),
|
|
599
610
|
ttl: import_v43.z.union([import_v43.z.literal("5m"), import_v43.z.literal("1h")]).optional()
|
|
600
611
|
}).optional(),
|
|
612
|
+
/**
|
|
613
|
+
* MCP servers to be utilized in this request.
|
|
614
|
+
*/
|
|
601
615
|
mcpServers: import_v43.z.array(
|
|
602
616
|
import_v43.z.object({
|
|
603
617
|
type: import_v43.z.literal("url"),
|