Skip to content

Commit

Permalink
✨ Improve function call argument serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
yym68686 committed Feb 19, 2025
1 parent 94fef85 commit f1dfd62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.13
1.4.0
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ async def generate_no_stream_response(timestamp, model, content=None, tools_id=N
"type": "function",
"function": {
"name": function_call_name,
"arguments": f"{function_call_content}"
"arguments": json.dumps(function_call_content, ensure_ascii=False)
}
}
],
Expand Down

0 comments on commit f1dfd62

Please sign in to comment.