@ai-sdk/anthropic 4.0.25 → 4.0.26

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,13 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 4.0.26
4
+
5
+ ### Patch Changes
6
+
7
+ - dc0c28e: Return visible summarized reasoning when generic reasoning enables adaptive thinking.
8
+ - Updated dependencies [fa95504]
9
+ - @ai-sdk/provider-utils@5.0.17
10
+
3
11
  ## 4.0.25
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -5722,7 +5722,10 @@ function resolveAnthropicReasoningConfig({
5722
5722
  },
5723
5723
  warnings
5724
5724
  });
5725
- return { thinking: { type: "adaptive" }, effort };
5725
+ return {
5726
+ thinking: { type: "adaptive", display: "summarized" },
5727
+ effort
5728
+ };
5726
5729
  }
5727
5730
  const budgetTokens = mapReasoningToProviderBudget({
5728
5731
  reasoning,
@@ -6508,7 +6511,7 @@ var AnthropicSkills = class {
6508
6511
  };
6509
6512
 
6510
6513
  // src/version.ts
6511
- var VERSION = true ? "4.0.25" : "0.0.0-test";
6514
+ var VERSION = true ? "4.0.26" : "0.0.0-test";
6512
6515
 
6513
6516
  // src/anthropic-provider.ts
6514
6517
  var ANTHROPIC_API_URL = "https://api.anthropic.com";