mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
A loop-back feeds the already-bound plan back into bind_resources, which only appended: a deselected resource kept its "(using …)" and suffixes piled up in the text handed to the generator. Trailing "(using …)" groups are stripped before binding, so a re-bind reflects exactly the current selection. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>