mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Merge branch 'litellm_internal_staging' into litellm_aws_partition_helper
This commit is contained in:
commit
cd5cf84aac
2 changed files with 3 additions and 3 deletions
|
|
@ -1816,7 +1816,7 @@ async def test_extra_body_merges_with_request_data(extra_body_mock_response_data
|
|||
await litellm.aresponses(
|
||||
model="gpt-5.5",
|
||||
input="Test",
|
||||
temperature=0.7,
|
||||
temperature=1,
|
||||
max_output_tokens=20,
|
||||
extra_body={
|
||||
"custom_field": "custom_value",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
# Out-of-range temperature on a non-reasoning model, so drop_params forwards it
|
||||
client.responses.create(
|
||||
model="gpt-5.5", input="This should fail", temperature=2000
|
||||
model="gpt-4.1", input="This should fail", temperature=2000
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue