From 814bad8d48bf97ce760a0e66c604ad88ff2c7a36 Mon Sep 17 00:00:00 2001 From: Salman Paracha Date: Mon, 29 Sep 2025 18:33:55 -0700 Subject: [PATCH] fixed 400 error handling tests, now that we write temperature to 1.0 for GPT-5 --- tests/e2e/test_model_alias_routing.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/e2e/test_model_alias_routing.py b/tests/e2e/test_model_alias_routing.py index 74b4ff36..d5a289a6 100644 --- a/tests/e2e/test_model_alias_routing.py +++ b/tests/e2e/test_model_alias_routing.py @@ -199,8 +199,7 @@ def test_400_error_handling_with_alias(): try: completion = client.chat.completions.create( model="arch.summarize.v1", # This should resolve to gpt-5-mini-2025-08-07 - max_completion_tokens=50, - temperature=0.7, # This is a typo - should be "temperature", which should trigger a 400 error + max_tokens=50, messages=[ { "role": "user",