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
77164dad
Unverified
Commit
77164dad
authored
May 30, 2025
by
Chauncey
Committed by
GitHub
May 30, 2025
Browse files
[Bugfix] Consistent ascii handling in tool parsers (#18883)
Signed-off-by:
chaunceyjiang
<
chaunceyjiang@gmail.com
>
parent
3de3eadf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/entrypoints/openai/serving_chat.py
vllm/entrypoints/openai/serving_chat.py
+2
-1
No files found.
vllm/entrypoints/openai/serving_chat.py
View file @
77164dad
...
...
@@ -988,7 +988,8 @@ class OpenAIServingChat(OpenAIServing):
tool_calls
=
[
tool_call_class
(
function
=
FunctionCall
(
name
=
tool_call
.
name
,
arguments
=
json
.
dumps
(
tool_call
.
parameters
)))
arguments
=
json
.
dumps
(
tool_call
.
parameters
,
ensure_ascii
=
False
)))
for
tool_call
in
tool_calls
])
...
...
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