diff --git a/tests/entrypoints/openai/test_response_api_with_harmony.py b/tests/entrypoints/openai/test_response_api_with_harmony.py index 718e0edba..6dd2d0e86 100644 --- a/tests/entrypoints/openai/test_response_api_with_harmony.py +++ b/tests/entrypoints/openai/test_response_api_with_harmony.py @@ -999,9 +999,15 @@ async def test_function_call_with_previous_input_messages( async def test_chat_truncation_content_not_null(client: OpenAI, model_name: str): response = await client.chat.completions.create( model=model_name, - messages=[{"role": "user", "content": "What is the role of AI in medicine?"}], + messages=[ + { + "role": "user", + "content": "What is the role of AI in medicine?" + "The response must exceed 350 words.", + } + ], temperature=0.0, - max_tokens=250, + max_tokens=350, ) choice = response.choices[0]