mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
_terminal_output json.dumps'd a node's outputs with no length limit. Node outputs are only truncated upstream at ~100,000 chars per string, so a report-generating workflow -- the Builder's showcase case -- could push hundreds of KB of JSON into a dify_builder_conversation_items row, the SSE frame, and the localizer walk on every successful build. Cap the rendered output at 2000 chars with a visible truncation marker before it reaches TestResultCard. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>