Unverified Commit 77164dad authored by Chauncey's avatar Chauncey Committed by GitHub
Browse files

[Bugfix] Consistent ascii handling in tool parsers (#18883)


Signed-off-by: default avatarchaunceyjiang <chaunceyjiang@gmail.com>
parent 3de3eadf
......@@ -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
])
......
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