Add Aliyun Bailian Qwq-plus model Error #136

Closed
opened 2026-02-16 10:18:12 -05:00 by yindo · 5 comments
Owner

Originally created by @mlzxdzl 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.13

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When I add Add Aliyun Bailian Qwq-plus model will have an error.
Credentials validation failed with status code 400

Image

I check the server logs, the logs says:

Image

I try it in postman, it can response normally.

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @mlzxdzl 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.13 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce When I add Add Aliyun Bailian Qwq-plus model will have an error. Credentials validation failed with status code 400 ![Image](https://github.com/user-attachments/assets/789a400c-2477-4ab4-ade4-29eb29ed65e6) I check the server logs, the logs says: ![Image](https://github.com/user-attachments/assets/73317517-a29e-406a-80a7-de0867275890) I try it in postman, it can response normally. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-16 10:18:12 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 27, 2025):

To resolve the CredentialsValidateFailedError with an HTTP 400 status code when adding the Aliyun Bailian Qwq-plus model in a self-hosted Docker environment, you should use the OpenAI provider directly instead of the OpenAI-API-Compatible configuration option [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

@dosubot[bot] commented on GitHub (Mar 27, 2025): <!-- Answer --> To resolve the `CredentialsValidateFailedError` with an HTTP 400 status code when adding the Aliyun Bailian Qwq-plus model in a self-hosted Docker environment, you should use the OpenAI provider directly instead of the OpenAI-API-Compatible configuration option <sup>[[1]](https://github.com/langgenius/dify/issues/15495)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/64bcee30-6e0e-4f41-a24f-0d474a095d97?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/64bcee30-6e0e-4f41-a24f-0d474a095d97?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/64bcee30-6e0e-4f41-a24f-0d474a095d97?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/64bcee30-6e0e-4f41-a24f-0d474a095d97?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/64bcee30-6e0e-4f41-a24f-0d474a095d97?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/64bcee30-6e0e-4f41-a24f-0d474a095d97?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/64bcee30-6e0e-4f41-a24f-0d474a095d97?feedback_type=other)</sup>
Author
Owner

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

@dosu I try to use the OpenAI provider directly. It says Base model qwq-plus not found

@mlzxdzl commented on GitHub (Mar 27, 2025): @dosu I try to use the OpenAI provider directly. It says Base model qwq-plus not found
Author
Owner

@dosubot[bot] commented on GitHub (Mar 27, 2025):

The "Base model not found" error indicates that the model you're trying to use, "qwq-plus," is not recognized by the OpenAI provider configuration in Dify. To integrate the Aliyun Bailian Qwq-plus model, you should follow these steps:

  1. Navigate to the /api/core/model_runtime/model_providers/tongyi/llm directory.
  2. Add the qwq-plus.yaml file to this directory.
  3. Add 'qwq-plus' to the _position.yaml file.
  4. Restart the system.

After completing these steps, the QwQ-Plus model should appear in the Tongyi Qianwen model list [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

@dosubot[bot] commented on GitHub (Mar 27, 2025): <!-- Answer --> The "Base model not found" error indicates that the model you're trying to use, "qwq-plus," is not recognized by the OpenAI provider configuration in Dify. To integrate the Aliyun Bailian Qwq-plus model, you should follow these steps: 1. Navigate to the `/api/core/model_runtime/model_providers/tongyi/llm` directory. 2. Add the `qwq-plus.yaml` file to this directory. 3. Add 'qwq-plus' to the `_position.yaml` file. 4. Restart the system. After completing these steps, the QwQ-Plus model should appear in the Tongyi Qianwen model list <sup>[[1]](https://github.com/langgenius/dify/issues/15176)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/aa43b06b-57a7-412a-bf3a-6054a72a9744?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/aa43b06b-57a7-412a-bf3a-6054a72a9744?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/aa43b06b-57a7-412a-bf3a-6054a72a9744?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/aa43b06b-57a7-412a-bf3a-6054a72a9744?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/aa43b06b-57a7-412a-bf3a-6054a72a9744?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/aa43b06b-57a7-412a-bf3a-6054a72a9744?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/aa43b06b-57a7-412a-bf3a-6054a72a9744?feedback_type=other)</sup>
Author
Owner

@Gaocarri commented on GitHub (Apr 18, 2025):

any solution?

@Gaocarri commented on GitHub (Apr 18, 2025): any solution?
Author
Owner

@crazywoola commented on GitHub (May 9, 2025):

This should be resolved in latest version of the provider https://marketplace.dify.ai/plugins/langgenius/tongyi

@crazywoola commented on GitHub (May 9, 2025): This should be resolved in latest version of the provider https://marketplace.dify.ai/plugins/langgenius/tongyi
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#136