mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
apply_connect now rejects a connect from a branch node on a handle it does not declare. Edit's prompt never mentioned source_handle and its graph view showed no handles, so such connects defaulted to "source" and a partial reject was dropped without a retry. The op schema and graph view now carry the handles, and any rejection gets one corrective re-prompt whose feedback names the declared handles. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>