mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
The Qwen2.5 model deployed with vllm/sglang does not work with tools #84
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 @Jimmy-L99 on GitHub (Mar 15, 2025).
Self Checks
Dify version
0.15.2
Plugin version
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I create an Agent in dify and use some tools such as get current time, get_weather and bar_chart, Qwen2.5-32B was deployed by vLLM or Sglang, but it cannot use the tools to make the right action.
By the way, in the vllm and sglang, I have already tried --tool-call-parser qwen or hermes.
Is there anything I'm missing?
✔️ Error log
No response
@wertyac commented on GitHub (Mar 16, 2025):
I have the same issue. Can we use ReAct method? How to configure?
@Jimmy-L99 commented on GitHub (Mar 17, 2025):
You can enter the
OpenAI-API-compatible---model settingand set theFunction callingtoTool CallInstead ofFunction Call, then default tool can be use.But the
toolpublished with theworkflowcould only answer two rounds of conversations with not 100% call, and the third was unresponsive. So I prefer thechatflow.@dosubot[bot] commented on GitHub (Aug 16, 2025):
Hi, @Jimmy-L99. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!