Files
dify/web/app
L1nSn0w f714cccd58 feat(chatflow): wire reasoning stream into workflow debug preview
Add onReasoning handlers to both debug-and-preview useChat paths so streamed
LLM reasoning deltas accumulate per node into reasoningContent and latch
reasoningFinished on the terminal marker.

Lift the reasoning-done decision out of ReasoningPanel into the Answer caller:
the panel now takes a single derived `done` prop. Done latches on the first
answer delta (the only mid-node signal), the reasoning terminal marker, or the
response ending — fixing the think->answer handoff and freezing the elapsed
timer. Update tests for the new prop.
2026-06-23 14:35:53 +08:00
..