Skip to content

Commit ff65bc1

Browse files
committed
Extract _process_chained_node helper to deduplicate interaction chaining loops
Both QUESTION and MESSAGE response branches in process_interaction contained nearly identical ~140-line chaining loops. Extract shared logic into a single _process_chained_node method that handles QUESTION, ACTION/CONDITION/COMPOSITE, and MESSAGE node types uniformly. Also document the emit_event action type across chatflow-node-types, node-schemas-reference, and architecture docs.
1 parent 0980143 commit ff65bc1

File tree

4 files changed

+254
-271
lines changed

4 files changed

+254
-271
lines changed

0 commit comments

Comments
 (0)