mirror of
https://github.com/langgenius/dify.git
synced 2026-02-09 15:10:13 -05:00
fix: provide json as text
This commit is contained in:
@@ -2510,7 +2510,7 @@ class LLMNode(Node[LLMNodeData]):
|
||||
)
|
||||
|
||||
return LLMGenerationData(
|
||||
text=aggregate.text or json.dumps(aggregate.structured_output),
|
||||
text=aggregate.text or json.dumps(aggregate.structured_output.structured_output),
|
||||
reasoning_contents=buffers.reasoning_per_turn,
|
||||
tool_calls=tool_calls_for_generation,
|
||||
sequence=sequence,
|
||||
|
||||
Reference in New Issue
Block a user