mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Bug: Qwen-R1 context window limited to 8K instead of official 16,384 #930
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hsiong on GitHub (Jan 11, 2026).
Self Checks
Dify version
1.11.2
Plugin version
langgenius/tongyi 0.1.18
Cloud or Self Hosted
Cloud
Steps to reproduce
✔️ Error log
No explicit runtime error.
This is a configuration / capability mismatch issue.
The Tongyi plugin incorrectly reports/enforces the context window for Qwen-R1 as 8K tokens, while the official model specification supports 16,384 tokens (16K).
As a result, long prompts or conversations are truncated earlier than expected.
The model details shown in the Tongyi/Dify UI on the Aliyun Bailian console also list DeepSeek-R1