mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Chatflow LLM node unwantedly include sys.files in LLM requests #402
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fdb02983rhy on GitHub (Jun 26, 2025).
Originally assigned to: @laipz8200 on GitHub.
Self Checks
Dify version
1.5.0
Cloud or Self Hosted
Cloud
Steps to reproduce
Sames as https://github.com/langgenius/dify/issues/12952. Reopen since the previous one was closed by dosubot.
It also occur on Agent Node.
File.Analysis.yml.zip
https://github.com/user-attachments/assets/719d3849-b36e-46cf-a8a1-dbffbd313a69
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@laipz8200 commented on GitHub (Jun 26, 2025):
I think this issue may be related to memory, as this file is stored in memory.
@fdb02983rhy commented on GitHub (Jun 27, 2025):
Not sure. In this DSL example, the DOCX file was not intentionally added to the LLM conversation flow, but somehow it ended up being included.
@fdb02983rhy commented on GitHub (Jul 4, 2025):
@laipz8200 @Nov1c444
Hi, I investigated a bit more about this bug. I think it related to how the backend handle the chat history and related to https://github.com/langgenius/dify/issues/18812.
Test 1
Send a non-supported docx file to trigger error.
Result, first round conversation didn't throw an error, but in round 2.
Test 2
Send a supported pdf file to read the content.
Result, first round conversation didn't recognized the pdf, but in round 2.
@fdb02983rhy commented on GitHub (Jul 21, 2025):
The root cause is that the nodes fail to access the correct turn-specific file variable, it's not that the LLM plugin can't read an unsupported file format...
@laipz8200 commented on GitHub (Jul 21, 2025):
I can confirm that after upgrading the
Anthropicplugin to version 0.1.1, your example is now functioning correctly.@fdb02983rhy commented on GitHub (Jul 21, 2025):
Please see the issue below, they caused by the same reason.
https://github.com/langgenius/dify/issues/18812
@laipz8200 commented on GitHub (Jul 22, 2025):
It's not the same. The agent node doesn't support the multi-modal feature just yet, but it's definitely on our roadmap.
@fdb02983rhy commented on GitHub (Jul 22, 2025):
It's more like it has a "delay".
@fdb02983rhy commented on GitHub (Jul 22, 2025):
These two issues are the symptoms, but not the root cause.