mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 04:49:04 +08:00
fix: workflow as tool garbled (#4707)
This commit is contained in:
parent
b7f81f0999
commit
e198bc9b9a
@ -70,7 +70,7 @@ class WorkflowTool(Tool):
|
|||||||
for file in files:
|
for file in files:
|
||||||
result.append(self.create_file_var_message(file))
|
result.append(self.create_file_var_message(file))
|
||||||
|
|
||||||
result.append(self.create_text_message(json.dumps(outputs)))
|
result.append(self.create_text_message(json.dumps(outputs, ensure_ascii=False)))
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user