Dify 1.1.3 Qwen PluginInvokeError when using function calling #12213

Closed
opened 2026-02-21 19:06:22 -05:00 by yindo · 2 comments
Owner

Originally created by @usun1997 on GitHub (Mar 27, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. use Xinference to deploy qwen2.5-32b-instruct
  2. in Dify, use [parameter extraction] 参数提取模块
  3. select qwen2.5-32b-instruct as the LLM
  4. click "advanced setting" 高级设置
  5. select the method, "Function calling" instead of "Prompt"
  6. get the error: Run failed: [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

run the code just like what it did in version 0.15 ...

Actual Behavior

Run failed: [xinference] Error: PluginInvokeError: {"args":{"description":"[models] Error: name 'helper' is not defined"},"error_type":"InvokeError","message":"[models] Error: name 'helper' is not defined"}

Originally created by @usun1997 on GitHub (Mar 27, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. use Xinference to deploy qwen2.5-32b-instruct 2. in Dify, use [parameter extraction] 参数提取模块 3. select qwen2.5-32b-instruct as the LLM 4. click "advanced setting" 高级设置 5. select the method, "Function calling" instead of "Prompt" 6. get the error: Run failed: [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 run the code just like what it did in version 0.15 ... ### ❌ Actual Behavior Run failed: [xinference] Error: PluginInvokeError: {"args":{"description":"[models] Error: name 'helper' is not defined"},"error_type":"InvokeError","message":"[models] Error: name 'helper' is not defined"}
yindo added the 🐞 bug label 2026-02-21 19:06:22 -05:00
yindo closed this issue 2026-02-21 19:06:22 -05:00
Author
Owner

@usun1997 commented on GitHub (Mar 27, 2025):

I can totally run the step with no error in version 0.15. Right now, the only way using parameter extraction without error is using the "Prompt" way instead of "Function calling" way in version 1.1.3.

@usun1997 commented on GitHub (Mar 27, 2025): I can totally run the step with no error in version 0.15. Right now, the only way using parameter extraction without error is using the "Prompt" way instead of "Function calling" way in version 1.1.3.
Author
Owner

@crazywoola commented on GitHub (Mar 27, 2025):

Duplicated https://github.com/langgenius/dify-official-plugins/issues/573

@crazywoola commented on GitHub (Mar 27, 2025): Duplicated https://github.com/langgenius/dify-official-plugins/issues/573
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12213