Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
41a62564
Unverified
Commit
41a62564
authored
Oct 24, 2025
by
Chauncey
Committed by
GitHub
Oct 24, 2025
Browse files
Fix test named tool use (#27458)
Signed-off-by:
chaunceyjiang
<
chaunceyjiang@gmail.com
>
parent
284cc922
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/entrypoints/openai/test_completion_with_function_calling.py
...trypoints/openai/test_completion_with_function_calling.py
+2
-0
No files found.
tests/entrypoints/openai/test_completion_with_function_calling.py
View file @
41a62564
...
@@ -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
,
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment