plugin langgenius / tongyi 0.0.23 can't use qwen3 series llm #269

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

Originally created by @Sligcm on GitHub (May 9, 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 Dify issues & Dify Official Plugins, 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.3.0

Plugin version

0.0.23

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Error log

Run failed: [tongyi] Error: PluginInvokeError: {"args":{"description":"[models] Error: 'generator' object has no attribute 'status_code'"},"error_type":"InvokeError","message":"[models] Error: 'generator' object has no attribute 'status_code'"}

Originally created by @Sligcm on GitHub (May 9, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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.3.0 ### Plugin version 0.0.23 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="1468" alt="Image" src="https://github.com/user-attachments/assets/bf140f53-a0ac-4a9d-ab46-e3e645a2a2d7" /> ### ✔️ Error log Run failed: [tongyi] Error: PluginInvokeError: {"args":{"description":"[models] Error: 'generator' object has no attribute 'status_code'"},"error_type":"InvokeError","message":"[models] Error: 'generator' object has no attribute 'status_code'"}
yindo added the bug label 2026-02-16 10:18:41 -05:00
yindo closed this issue 2026-02-16 10:18:41 -05:00
Author
Owner

@YuanJie2001 commented on GitHub (May 10, 2025):

我感觉是这里的问题:
参考tongyi api文档:https://bailian.console.aliyun.com/console?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2712576.html

Image

@YuanJie2001 commented on GitHub (May 10, 2025): 我感觉是这里的问题: 参考tongyi api文档:https://bailian.console.aliyun.com/console?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2712576.html ![Image](https://github.com/user-attachments/assets/a2352f7f-62da-4412-8c5d-509ccba67db2)
Author
Owner

@YuanJie2001 commented on GitHub (May 10, 2025):

Image

Image
感觉像是qwen字段改了,文档没更新呢。由于是py调用。前端网络debug不出来qwen响应给py后端的结果

Image

@YuanJie2001 commented on GitHub (May 10, 2025): ![Image](https://github.com/user-attachments/assets/09d7c41e-fc38-4b23-bdc9-2f8ddd0f4135) ![Image](https://github.com/user-attachments/assets/e0c5e227-f1bd-49ba-940e-0de8ca483fbf) 感觉像是qwen字段改了,文档没更新呢。由于是py调用。前端网络debug不出来qwen响应给py后端的结果 ![Image](https://github.com/user-attachments/assets/51e77373-de36-4e58-b1a2-cca18df372c5)
Author
Owner

@junjiem commented on GitHub (May 16, 2025):

It is recommended to upgrade to the latest version 0.0.25.

@junjiem commented on GitHub (May 16, 2025): It is recommended to upgrade to the latest version 0.0.25.
Author
Owner

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

Hi, @Sligcm. 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 a PluginInvokeError with langgenius/tongyi v0.0.23 on Dify 1.3.0 when using qwen3 LLM.
  • The error was due to a "'generator' object has no attribute 'status_code'", linked to changes in qwen's API response format.
  • Contributor YuanJie2001 provided insights and relevant API documentation.
  • Maintainer junjiem recommended upgrading to langgenius/tongyi v0.0.25.
  • The upgrade resolved the issue.

Next Steps:

  • Please confirm if this issue is still relevant with the latest plugin version.
  • If it is, feel free to comment to keep the discussion open; otherwise, I will close this issue automatically in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 19, 2025): Hi, @Sligcm. 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 a PluginInvokeError with langgenius/tongyi v0.0.23 on Dify 1.3.0 when using qwen3 LLM. - The error was due to a "'generator' object has no attribute 'status_code'", linked to changes in qwen's API response format. - Contributor YuanJie2001 provided insights and relevant API documentation. - Maintainer junjiem recommended upgrading to langgenius/tongyi v0.0.25. - The upgrade resolved the issue. **Next Steps:** - Please confirm if this issue is still relevant with the latest plugin version. - If it is, feel free to comment to keep the discussion open; otherwise, I will close this issue automatically 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#269