Unverified Commit 41a62564 authored by Chauncey's avatar Chauncey Committed by GitHub
Browse files

Fix test named tool use (#27458)


Signed-off-by: default avatarchaunceyjiang <chaunceyjiang@gmail.com>
parent 284cc922
...@@ -378,6 +378,7 @@ async def test_named_tool_use( ...@@ -378,6 +378,7 @@ async def test_named_tool_use(
messages=messages, messages=messages,
max_completion_tokens=1000, max_completion_tokens=1000,
tools=tools, tools=tools,
temperature=0.0,
tool_choice=tool_choice, tool_choice=tool_choice,
) )
message = chat_completion.choices[0].message message = chat_completion.choices[0].message
...@@ -399,6 +400,7 @@ async def test_named_tool_use( ...@@ -399,6 +400,7 @@ async def test_named_tool_use(
max_completion_tokens=1000, max_completion_tokens=1000,
tools=tools, tools=tools,
tool_choice=tool_choice, tool_choice=tool_choice,
temperature=0.0,
stream=True, stream=True,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment