From 41a62564a7b906cbf93862c0e9b35079d828940a Mon Sep 17 00:00:00 2001 From: Chauncey Date: Fri, 24 Oct 2025 20:27:45 +0800 Subject: [PATCH] Fix test named tool use (#27458) Signed-off-by: chaunceyjiang --- .../entrypoints/openai/test_completion_with_function_calling.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/entrypoints/openai/test_completion_with_function_calling.py b/tests/entrypoints/openai/test_completion_with_function_calling.py index 020cb6af2db6b..6d8db361a57d4 100644 --- a/tests/entrypoints/openai/test_completion_with_function_calling.py +++ b/tests/entrypoints/openai/test_completion_with_function_calling.py @@ -378,6 +378,7 @@ async def test_named_tool_use( messages=messages, max_completion_tokens=1000, tools=tools, + temperature=0.0, tool_choice=tool_choice, ) message = chat_completion.choices[0].message @@ -399,6 +400,7 @@ async def test_named_tool_use( max_completion_tokens=1000, tools=tools, tool_choice=tool_choice, + temperature=0.0, stream=True, )