mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Using the model in xinference, calling the tool-supported model reports an error. #242
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 (Apr 30, 2025).
Self Checks
Dify version
1.3.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
My xinference model is Qwen2.5-32B-Instruct with tool-calling capability enabled. It works fine when called via OpenAI's API,

but after adding the Qwen2.5-32B-Instruct model in Dify and attempting to invoke the configured tool, the following error occurs:
[xinference] Error: PluginInvokeError: {"args":{"description":"[models] Error: name 'helper' is not defined"},"error_type":"InvokeError","message":"[models] Error: name 'helper' is not defined"}
✔️ Expected Behavior
❌ Actual Behavior