mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: tool result
This commit is contained in:
parent
59ba21bdf8
commit
dc0d420af5
1 changed files with 1 additions and 1 deletions
|
|
@ -2148,7 +2148,7 @@ async def process_chat_response(
|
|||
if isinstance(tool_result, dict) or isinstance(
|
||||
tool_result, list
|
||||
):
|
||||
tool_result = json.dumps(tool_result, indent=2)
|
||||
tool_result = json.dumps(tool_result, indent=2, ensure_ascii=False)
|
||||
|
||||
results.append(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue