fix: Claude models that removed sampling params are marked temperature = true (#3961)
Anthropic removed temperature/top_p/top_k on Opus 4.7 and later, Sonnet 5 and Fable 5 -- sending them returns a 400. Ten provider entries still advertise temperature support for those models. Eight of them declare base_model pointing at a lab entry that already says temperature = false, then override it back to true; per AGENTS.md a provider entry should carry only real overrides, so those lines are dropped and the lab value is inherited. The two standalone entries state false explicitly. Co-authored-by: Asjad Abbas <215788583+asjad3@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ last_updated = "2026-04-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
temperature = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2026-01-31"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
base_model = "anthropic/claude-opus-4-8"
|
||||
temperature = true
|
||||
knowledge = "2025-12-31"
|
||||
# POST /anthropic/v1/messages uses adaptive thinking with output_config.effort
|
||||
# low/medium/high/xhigh/max; Azure catalog availability alone is not a control.
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
base_model = "anthropic/claude-opus-4-8"
|
||||
temperature = true
|
||||
knowledge = "2025-12-31"
|
||||
# Possible values described at https://platform.claude.com/docs/en/build-with-claude/effort#effort-levels
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
@@ -6,7 +6,7 @@ last_updated = "2026-06-12"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh"] }]
|
||||
temperature = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
base_model = "anthropic/claude-sonnet-5"
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = true
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-5"
|
||||
description = "Flagship Claude model for deep reasoning, coding, and long-horizon agents"
|
||||
temperature = true
|
||||
structured_output = true
|
||||
|
||||
[[reasoning_options]]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
base_model = "anthropic/claude-fable-5"
|
||||
release_date = "2026-07-01"
|
||||
temperature = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh"] }]
|
||||
|
||||
[cost]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-5"
|
||||
name = "Claude Opus 5 (Fast)"
|
||||
temperature = true
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-5"
|
||||
description = "Flagship Claude model for deep reasoning, coding, and long-horizon agents"
|
||||
temperature = true
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
base_model = "anthropic/claude-sonnet-5"
|
||||
release_date = "2026-06-29"
|
||||
temperature = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh"] }]
|
||||
|
||||
[cost]
|
||||
|
||||
Reference in New Issue
Block a user