bug:OpenAI-API-compatible connection Qwen3 model error: An error occurred during credentials validation:'str' object has no attribute 'get' #65

Open
opened 2026-02-22 17:17:13 -05:00 by yindo · 0 comments
Owner

Originally created by @muamiao on GitHub (Jun 4, 2025).

Brief description of bug

Self-Diagnosis

  • I have reviewed the documentation.
  • I have reviewed the Wiki.
  • I have tried to use the latest version.
  • I have searched the issues for an answer to my question.
  • I have searched the web for an answer to my question.

Environment(for bug reports)

  • Plugin version:0.0.16

Steps to Reproduce the Issue

  1. The large language model selects a model with a thinking chain, and strictly adheres to the max_token parameter.
  2. OpenAI-API-compatible will send a request with max_token=5 during testing.
  3. In the model response, the thinking chain consumes all tokens, resulting in the content returning null, which leads to a data type error.

Current Result (Include screenshots where appropriate.)

Image

Image

Expected Result

Originally created by @muamiao on GitHub (Jun 4, 2025). ### Brief description of bug #### Self-Diagnosis - [x] I have reviewed the documentation. - [x] I have reviewed the Wiki. - [x] I have tried to use the latest version. - [x] I have searched the issues for an answer to my question. - [x] I have searched the web for an answer to my question. #### Environment(for bug reports) - [x] Plugin version:0.0.16 #### Steps to Reproduce the Issue 1. The large language model selects a model with a thinking chain, and strictly adheres to the max_token parameter. 2. OpenAI-API-compatible will send a request with max_token=5 during testing. 3. In the model response, the thinking chain consumes all tokens, resulting in the content returning null, which leads to a data type error. #### Current Result (Include screenshots where appropriate.) ![Image](https://github.com/user-attachments/assets/206bef6d-c1ff-44ad-a0b9-2e914c6230a4) ![Image](https://github.com/user-attachments/assets/fd4dbdee-1e0f-4dff-b5a9-74b86d141ac3) #### Expected Result
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#65