Token quantity limit error #11080

Closed
opened 2026-02-21 18:54:39 -05:00 by yindo · 0 comments
Owner

Originally created by @ocaicaio on GitHub (Mar 14, 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.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

This is the deepseek-r1 model communication in the local ollama that I call through the dify tool. There was no problem with the same configuration before, but now this error message is displayed. The token I set is 4096, which should be supported by deepseek-r1 32b (14b is the same). Of course, I also have a system prompts, which is about 1,000 words. The problem scenario is that I will get this error message even if I send "Hello". Is this a problem with deepseek or dify? Because I have the same setting on another cherry ai client and it is normal!

✔️ Expected Behavior

Set a system prompts, about 1000 words. Set the token max to 4096, and this error message will be reported for any question. Is this a problem with deepseek or dify? Because I have the same setting on another cherry ai client and it works fine!

Actual Behavior

Image

Originally created by @ocaicaio on GitHub (Mar 14, 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). - [ ] 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.0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce This is the deepseek-r1 model communication in the local ollama that I call through the dify tool. There was no problem with the same configuration before, but now this error message is displayed. The token I set is 4096, which should be supported by deepseek-r1 32b (14b is the same). Of course, I also have a system prompts, which is about 1,000 words. The problem scenario is that I will get this error message even if I send "Hello". Is this a problem with deepseek or dify? Because I have the same setting on another cherry ai client and it is normal! ### ✔️ Expected Behavior Set a system prompts, about 1000 words. Set the token max to 4096, and this error message will be reported for any question. Is this a problem with deepseek or dify? Because I have the same setting on another cherry ai client and it works fine! ### ❌ Actual Behavior ![Image](https://github.com/user-attachments/assets/00e878a7-597b-49d4-99f1-712e91dc87eb)
yindo added the 🐞 bug label 2026-02-21 18:54:39 -05:00
yindo closed this issue 2026-02-21 18:54:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11080