mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
In Agent mode, using Xinference's model does not support streaming output. #274
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 @suntao2015005848 on GitHub (May 11, 2025).
Self Checks
Dify version
1.3.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Xinference version is 1.5.1;
Xinference plugins is 0.0.3;
In Chatflow mode, using Xinference's model works normally,but In Agent mode, using Xinference's model does not support streaming output.
✔️ Expected Behavior
❌ Actual Behavior
@dosubot[bot] commented on GitHub (May 11, 2025):
The issue you're experiencing with Xinference's model not supporting streaming output in Agent mode is a known limitation. Currently, agent nodes using the plug-in policy do not support streaming output, while it works normally in Chatflow mode. This is due to the way requests involving tools are handled, as streaming mode is explicitly not supported in these cases. This functionality is planned to be added in a future version of Dify through the 'stream-tool-call' feature [1].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@suntao2015005848 commented on GitHub (May 18, 2025):
Why does the Tongyi plugin support it, while Xinference does not? @dosu