@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.mjs
CHANGED
|
@@ -566,7 +566,18 @@ var anthropicFilePartProviderOptions = z3.object({
|
|
|
566
566
|
context: z3.string().optional()
|
|
567
567
|
});
|
|
568
568
|
var anthropicProviderOptions = z3.object({
|
|
569
|
+
/**
|
|
570
|
+
* Whether to send reasoning to the model.
|
|
571
|
+
*
|
|
572
|
+
* This allows you to deactivate reasoning inputs for models that do not support them.
|
|
573
|
+
*/
|
|
569
574
|
sendReasoning: z3.boolean().optional(),
|
|
575
|
+
/**
|
|
576
|
+
* Configuration for enabling Claude's extended thinking.
|
|
577
|
+
*
|
|
578
|
+
* When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer.
|
|
579
|
+
* Requires a minimum budget of 1,024 tokens and counts towards the `max_tokens` limit.
|
|
580
|
+
*/
|
|
570
581
|
thinking: z3.object({
|
|
571
582
|
type: z3.union([z3.literal("enabled"), z3.literal("disabled")]),
|
|
572
583
|
budgetTokens: z3.number().optional()
|
|
@@ -584,6 +595,9 @@ var anthropicProviderOptions = z3.object({
|
|
|
584
595
|
type: z3.literal("ephemeral"),
|
|
585
596
|
ttl: z3.union([z3.literal("5m"), z3.literal("1h")]).optional()
|
|
586
597
|
}).optional(),
|
|
598
|
+
/**
|
|
599
|
+
* MCP servers to be utilized in this request.
|
|
600
|
+
*/
|
|
587
601
|
mcpServers: z3.array(
|
|
588
602
|
z3.object({
|
|
589
603
|
type: z3.literal("url"),
|