Support adjusting max_input_tokens parameter for qwen-plus-latest in Dify's official Tongyi Qianwen plugin #552

Closed
opened 2026-02-16 10:19:43 -05:00 by yindo · 1 comment
Owner

Originally created by @cybluesky on GitHub (Aug 13, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I'm building an application with Dify, leveraging the Tongyi Qianwen official plugin and specifically using the qwen-plus-latest model. In my usage scenario, I need to have precise control over the max_input_tokens parameter. Currently, the LLM step in Dify doesn't support configuring this parameter for qwen - plus - latest.
The default value of input token for qwen-plus-latest is 129024, and it can support a maximum of 997952. This lack of configurability becomes a problem because in some cases, I need to adjust this parameter according to the actual input length requirements of different tasks (for example, when dealing with long - form text input that may approach or exceed the default token limit). It's frustrating as it restricts the flexibility of using the qwen - plus - latest model to its full potential for various text - processing tasks, like handling large - scale document summarization or long - dialogue context analysis where the input token count can vary greatly.

2. Additional context or comments

Image

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @cybluesky on GitHub (Aug 13, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. I'm building an application with Dify, leveraging the Tongyi Qianwen official plugin and specifically using the qwen-plus-latest model. In my usage scenario, I need to have precise control over the max_input_tokens parameter. Currently, the LLM step in Dify doesn't support configuring this parameter for qwen - plus - latest. The default value of input token for qwen-plus-latest is 129024, and it can support a maximum of 997952. This lack of configurability becomes a problem because in some cases, I need to adjust this parameter according to the actual input length requirements of different tasks (for example, when dealing with long - form text input that may approach or exceed the default token limit). It's frustrating as it restricts the flexibility of using the qwen - plus - latest model to its full potential for various text - processing tasks, like handling large - scale document summarization or long - dialogue context analysis where the input token count can vary greatly. ### 2. Additional context or comments <img width="582" height="78" alt="Image" src="https://github.com/user-attachments/assets/5671e216-e6e1-4f32-84fd-55102882e385" /> ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the enhancement label 2026-02-16 10:19:43 -05:00
yindo closed this issue 2026-02-16 10:19:43 -05:00
Author
Owner

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

Hi, @cybluesky. 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 requested the ability to configure the max_input_tokens parameter for the qwen-plus-latest model in the Tongyi Qianwen plugin.
  • Currently, this parameter is fixed at 129024 tokens, but the model supports up to 997952 tokens.
  • Adjusting this parameter would enhance flexibility for processing long-form text and large documents.
  • There have been no comments or updates on this request so far.

Next Steps:

  • Please let me know if this feature request is still relevant for the latest version of the dify-official-plugins repository by commenting on this issue.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 29, 2025): Hi, @cybluesky. 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 requested the ability to configure the `max_input_tokens` parameter for the qwen-plus-latest model in the Tongyi Qianwen plugin. - Currently, this parameter is fixed at 129024 tokens, but the model supports up to 997952 tokens. - Adjusting this parameter would enhance flexibility for processing long-form text and large documents. - There have been no comments or updates on this request so far. **Next Steps:** - Please let me know if this feature request is still relevant for the latest version of the dify-official-plugins repository by commenting on this issue. - If I do not hear back within 5 days, I will automatically close this issue. 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#552