mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
test: use a non-reasoning model for the responses bad-param e2e fixture
This commit is contained in:
parent
6301a520a6
commit
9da766a1f9
1 changed files with 2 additions and 2 deletions
|
|
@ -115,9 +115,9 @@ def test_bad_request_error():
|
|||
def test_bad_request_bad_param_error():
|
||||
client = get_test_client()
|
||||
with pytest.raises(BadRequestError):
|
||||
# Trigger error with invalid model name
|
||||
# needs a non-reasoning model so drop_params keeps temperature for OpenAI to reject
|
||||
client.responses.create(
|
||||
model="gpt-5.5", input="This should fail", temperature=2000
|
||||
model="gpt-4.1-mini", input="This should fail", temperature=2000
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue