mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-24 02:25:29 +00:00
Merge pull request #21666 from BerriAI/fix/test-max-effort-error-message
fix(tests): update test_max_effort_rejected_for_opus_45 regex to match current error message
This commit is contained in:
@@ -1662,7 +1662,7 @@ def test_max_effort_rejected_for_opus_45():
|
||||
|
||||
messages = [{"role": "user", "content": "Test"}]
|
||||
|
||||
with pytest.raises(ValueError, match="effort='max' is only supported by Claude Opus 4.6"):
|
||||
with pytest.raises(ValueError, match="effort='max' is only supported by Claude 4.6 models"):
|
||||
optional_params = {"output_config": {"effort": "max"}}
|
||||
config.transform_request(
|
||||
model="claude-opus-4-5-20251101",
|
||||
|
||||
Reference in New Issue
Block a user