Skip to content

Commit 41a6256

Browse files
Fix test named tool use (#27458)
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
1 parent 284cc92 commit 41a6256

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/entrypoints/openai/test_completion_with_function_calling.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ async def test_named_tool_use(
378378
messages=messages,
379379
max_completion_tokens=1000,
380380
tools=tools,
381+
temperature=0.0,
381382
tool_choice=tool_choice,
382383
)
383384
message = chat_completion.choices[0].message
@@ -399,6 +400,7 @@ async def test_named_tool_use(
399400
max_completion_tokens=1000,
400401
tools=tools,
401402
tool_choice=tool_choice,
403+
temperature=0.0,
402404
stream=True,
403405
)
404406

0 commit comments

Comments
 (0)