When I deployed qwen3 using vllm openai, the dify configuration model connected to openai pi qwen3 and used the agent node function call strategy, but was unable to call the provided tools #429

Closed
opened 2026-02-16 10:19:23 -05:00 by yindo · 3 comments
Owner

Originally created by @Perfect404 on GitHub (Jul 6, 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.5.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When I deployed qwen3 using vllm openai, the dify configuration model connected to openai pi qwen3 and used the agent node function call strategy, but was unable to call the provided tools

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @Perfect404 on GitHub (Jul 6, 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.5.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce When I deployed qwen3 using vllm openai, the dify configuration model connected to openai pi qwen3 and used the agent node function call strategy, but was unable to call the provided tools ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the invalid label 2026-02-16 10:19:23 -05:00
yindo closed this issue 2026-02-16 10:19:23 -05:00
Author
Owner

@crazywoola commented on GitHub (Jul 6, 2025):

For questions related to plugins, please report in this repo, also, if you think this is a bug, please provide some steps to reproduce or some evidences.

@crazywoola commented on GitHub (Jul 6, 2025): For questions related to plugins, please report in this repo, also, if you think this is a bug, please provide some steps to reproduce or some evidences.
Author
Owner

@wickhu commented on GitHub (Jul 30, 2025):

Image Just try to set `Function Calling` method like this, it works well for me. `Function Call` is deprecated in OpenAI API.

The reason is likely that 'Function Call' has been replaced by 'Tool Call' in the latest OpenAI API
When implementing the OpenAI Compatible plugin, it determines whether to use 'tools=tools' or' functions=functions' in the payload based on the 'Function Calling' in the Model Info(I guessed). VLLM, OpenRouter are all implemented using the latest OpenAI API and only support Tool Call`

Reference: https://docs.tasking.ai/docs/developer-guide/openai/function-calls/

@wickhu commented on GitHub (Jul 30, 2025): <img width="1316" height="212" alt="Image" src="https://github.com/user-attachments/assets/ba06f108-d814-49ac-a410-4f6abffd356f" /> Just try to set `Function Calling` method like this, it works well for me. `Function Call` is deprecated in OpenAI API. The reason is likely that 'Function Call' has been replaced by 'Tool Call' in the latest OpenAI API When implementing the OpenAI Compatible plugin, it determines whether to use 'tools=tools' or' functions=functions' in the payload based on the 'Function Calling' in the Model Info(I guessed). VLLM, OpenRouter are all implemented using the latest OpenAI API and only support Tool Call` Reference: https://docs.tasking.ai/docs/developer-guide/openai/function-calls/
Author
Owner

@dosubot[bot] commented on GitHub (Aug 21, 2025):

Hi, @Perfect404. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that tools could not be called using the agent node function call strategy after deploying qwen3 with vllm openai on Dify 1.5.1 in a self-hosted Docker setup.
  • The maintainer requested reproduction steps or evidence to investigate further.
  • A contributor suggested switching from the deprecated "Function Call" method to the newer "Tool Call" method in the OpenAI API.
  • This change resolved the issue, as recent implementations like VLLM and OpenRouter only support "Tool Call."
  • The resolution aligns with updated documentation on function calls in the OpenAI-compatible plugin.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of dify-official-plugins by commenting here.
  • If no further updates are provided, I will automatically close this issue in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 21, 2025): Hi, @Perfect404. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that tools could not be called using the agent node function call strategy after deploying qwen3 with vllm openai on Dify 1.5.1 in a self-hosted Docker setup. - The maintainer requested reproduction steps or evidence to investigate further. - A contributor suggested switching from the deprecated "Function Call" method to the newer "Tool Call" method in the OpenAI API. - This change resolved the issue, as recent implementations like VLLM and OpenRouter only support "Tool Call." - The resolution aligns with updated documentation on function calls in the OpenAI-compatible plugin. **Next Steps:** - Please confirm if this issue is still relevant with the latest version of dify-official-plugins by commenting here. - If no further updates are provided, I will automatically close this issue in 5 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#429