Skip to content

Commit 3467ff6

Browse files
Remove temperature from claude-opus-4-7 config - it's deprecated for this model
Fixes integration test failure: 'temperature is deprecated for this model' Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 61e9018 commit 3467ff6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/run-eval/resolve_model_config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ def _sigterm_handler(signum: int, _frame: object) -> None:
117117
"display_name": "Claude 4.7 Opus",
118118
"llm_config": {
119119
"model": "litellm_proxy/anthropic/claude-opus-4-7",
120-
"temperature": 0.0,
121120
},
122121
},
123122
"claude-sonnet-4-6": {

tests/cross/test_resolve_model_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,9 +616,9 @@ def test_trinity_large_thinking_config():
616616

617617
def test_claude_opus_4_7_config():
618618
"""Test that claude-opus-4-7 has correct configuration."""
619-
model = MODELS["claude-opus-4-7
619+
model = MODELS["claude-opus-4-7"]
620620

621621
assert model["id"] == "claude-opus-4-7"
622-
assert model["display_name"] == "Claude Opus 4.7"
622+
assert model["display_name"] == "Claude 4.7 Opus"
623623
assert model["llm_config"]["model"] == "litellm_proxy/anthropic/claude-opus-4-7"
624-
assert model["llm_config"]["temperature"] == 0.0
624+
# Note: temperature is not set for claude-opus-4-7 as it's deprecated for this model

0 commit comments

Comments
 (0)