opencode-athena 0.12.0 → 0.12.2

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/dist/cli/index.js CHANGED
@@ -1661,8 +1661,16 @@ var ROLE_DEFAULT_THINKING = {
1661
1661
  explore: "off"
1662
1662
  };
1663
1663
  var MODEL_CAPABILITIES = {
1664
- "anthropic/claude-sonnet-4-5-thinking": { supportsThinking: true, thinkingType: "anthropic" },
1665
- "anthropic/claude-opus-4-5-thinking": { supportsThinking: true, thinkingType: "anthropic" },
1664
+ "anthropic/claude-sonnet-4-5-thinking": {
1665
+ supportsThinking: true,
1666
+ thinkingType: "anthropic",
1667
+ supportsTemperature: false
1668
+ },
1669
+ "anthropic/claude-opus-4-5-thinking": {
1670
+ supportsThinking: true,
1671
+ thinkingType: "anthropic",
1672
+ supportsTemperature: false
1673
+ },
1666
1674
  "anthropic/claude-sonnet-4-5": { supportsTemperature: true },
1667
1675
  "anthropic/claude-opus-4-5": { supportsTemperature: true },
1668
1676
  "openai/gpt-5.1-high": { supportsThinking: true, thinkingType: "openai" },
@@ -1767,6 +1775,10 @@ function getProviderParams(modelId, role, config) {
1767
1775
  break;
1768
1776
  case "anthropic":
1769
1777
  result.thinking_budget = thinkingLevelToTokenBudget(thinkingLevel);
1778
+ if (result.temperature !== void 0) {
1779
+ const { temperature: _, ...rest } = result;
1780
+ return rest;
1781
+ }
1770
1782
  break;
1771
1783
  case "google":
1772
1784
  result.thinking_level = thinkingLevel;