[Big Pickle] "Requested token count exceeds" message breaking the TUI #2157

Closed
opened 2026-02-16 17:34:26 -05:00 by yindo · 11 comments
Owner

Originally created by @mtymek on GitHub (Oct 18, 2025).

Originally assigned to: @rekram1-node on GitHub.

I'm consistently getting the following error when working with Big Pickle, when reaching the context size limit. It doesn't happen with other models that I work with (usually on Claude 4.5, didn't get it on Supernova either).

OpenCode version: 0.15.7

Image
Originally created by @mtymek on GitHub (Oct 18, 2025). Originally assigned to: @rekram1-node on GitHub. I'm consistently getting the following error when working with Big Pickle, when reaching the context size limit. It doesn't happen with other models that I work with (usually on Claude 4.5, didn't get it on Supernova either). OpenCode version: **0.15.7** <img width="1255" height="397" alt="Image" src="https://github.com/user-attachments/assets/af89b069-1cf7-402c-8a9b-721913855864" />
yindo closed this issue 2026-02-16 17:34:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 18, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2464: Nearly identical "prompt token count exceeds limit" error that blocks TUI workflow
  • #1172: Same pattern of context limit exceeded error causing sessions to become completely unusable
  • #1551: Similar "reduce the length of messages" context limit error with specific token counts shown
  • #3142: TUI showing errors on every prompt, similar to how context limit errors break the interface

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 18, 2025): This issue might be a duplicate of existing issues. Please check: - #2464: Nearly identical "prompt token count exceeds limit" error that blocks TUI workflow - #1172: Same pattern of context limit exceeded error causing sessions to become completely unusable - #1551: Similar "reduce the length of messages" context limit error with specific token counts shown - #3142: TUI showing errors on every prompt, similar to how context limit errors break the interface Feel free to ignore if none of these address your specific case.
Author
Owner

@OpeOginni commented on GitHub (Oct 18, 2025):

@mtymek compacting should solve this, use the /compact command, its normally meant to happen automatically, so maybe someone on the team can look into it.

@OpeOginni commented on GitHub (Oct 18, 2025): @mtymek compacting should solve this, use the `/compact` command, its normally meant to happen automatically, so maybe someone on the team can look into it.
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

@OpeOginni compacting wont solve it because the message already broke the tui view, this is an uncaught error that is polluting the view

@mtymek no chance that there is a plugin or custom tool you wrote calling an llm that could be leaking this?

AH i found the issue, I have open pr that shoukd fix will merge and release soon

@rekram1-node commented on GitHub (Oct 18, 2025): @OpeOginni compacting wont solve it because the message already broke the tui view, this is an uncaught error that is polluting the view @mtymek no chance that there is a plugin or custom tool you wrote calling an llm that could be leaking this? AH i found the issue, I have open pr that shoukd fix will merge and release soon
Author
Owner

@OpeOginni commented on GitHub (Oct 18, 2025):

@rekram1-node thanks for the correction. Could you link the PR so I can look at it, for study purposes 📖

@OpeOginni commented on GitHub (Oct 18, 2025): @rekram1-node thanks for the correction. Could you link the PR so I can look at it, for study purposes 📖
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

linked

@rekram1-node commented on GitHub (Oct 18, 2025): linked
Author
Owner

@mtymek commented on GitHub (Oct 18, 2025):

Thanks @rekram1-node!
Just for the record, no custom tools or plugins that call LLM and leaking this message.

@mtymek commented on GitHub (Oct 18, 2025): Thanks @rekram1-node! Just for the record, no custom tools or plugins that call LLM and leaking this message.
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

will be fixed in next release

@rekram1-node commented on GitHub (Oct 18, 2025): will be fixed in next release
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

Ill release it after I get back from breakfast

@rekram1-node commented on GitHub (Oct 18, 2025): Ill release it after I get back from breakfast
Author
Owner

@mtymek commented on GitHub (Oct 18, 2025):

Wow, that was fast! enjoy your breakfast then ;)

@mtymek commented on GitHub (Oct 18, 2025): Wow, that was fast! enjoy your breakfast then ;)
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

Wow, that was fast! enjoy your breakfast then ;)

Hey that's how we like to do it around here haha thanks!

releasing now

@rekram1-node commented on GitHub (Oct 18, 2025): > Wow, that was fast! enjoy your breakfast then ;) Hey that's how we like to do it around here haha thanks! releasing now
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

fixed

@rekram1-node commented on GitHub (Oct 18, 2025): fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2157