@ai-sdk/anthropic 3.0.0-beta.55 → 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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 3.0.0-beta.56
4
+
5
+ ### Patch Changes
6
+
7
+ - 983e394: chore(provider/anthropic): add missing provider options jsdoc
8
+
3
9
  ## 3.0.0-beta.55
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var import_provider4 = require("@ai-sdk/provider");
31
31
  var import_provider_utils20 = require("@ai-sdk/provider-utils");
32
32
 
33
33
  // src/version.ts
34
- var VERSION = true ? "3.0.0-beta.55" : "0.0.0-test";
34
+ var VERSION = true ? "3.0.0-beta.56" : "0.0.0-test";
35
35
 
36
36
  // src/anthropic-messages-language-model.ts
37
37
  var import_provider3 = require("@ai-sdk/provider");
@@ -587,7 +587,18 @@ var anthropicFilePartProviderOptions = import_v43.z.object({
587
587
  context: import_v43.z.string().optional()
588
588
  });
589
589
  var anthropicProviderOptions = import_v43.z.object({
590
+ /**
591
+ * Whether to send reasoning to the model.
592
+ *
593
+ * This allows you to deactivate reasoning inputs for models that do not support them.
594
+ */
590
595
  sendReasoning: import_v43.z.boolean().optional(),
596
+ /**
597
+ * Configuration for enabling Claude's extended thinking.
598
+ *
599
+ * When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer.
600
+ * Requires a minimum budget of 1,024 tokens and counts towards the `max_tokens` limit.
601
+ */
591
602
  thinking: import_v43.z.object({
592
603
  type: import_v43.z.union([import_v43.z.literal("enabled"), import_v43.z.literal("disabled")]),
593
604
  budgetTokens: import_v43.z.number().optional()
@@ -605,6 +616,9 @@ var anthropicProviderOptions = import_v43.z.object({
605
616
  type: import_v43.z.literal("ephemeral"),
606
617
  ttl: import_v43.z.union([import_v43.z.literal("5m"), import_v43.z.literal("1h")]).optional()
607
618
  }).optional(),
619
+ /**
620
+ * MCP servers to be utilized in this request.
621
+ */
608
622
  mcpServers: import_v43.z.array(
609
623
  import_v43.z.object({
610
624
  type: import_v43.z.literal("url"),