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

[Bugfix] Fix Unicode issues in GLM-4 tool calling (#30920)


Signed-off-by: default avatarchaunceyjiang <chaunceyjiang@gmail.com>
parent be2ad5f9
...@@ -114,7 +114,8 @@ class Glm4MoeModelToolParser(ToolParser): ...@@ -114,7 +114,8 @@ class Glm4MoeModelToolParser(ToolParser):
ToolCall( ToolCall(
type="function", type="function",
function=FunctionCall( function=FunctionCall(
name=tc_name, arguments=json.dumps(arg_dct) name=tc_name,
arguments=json.dumps(arg_dct, ensure_ascii=False),
), ),
) )
) )
......
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