[PR #3925] docs: include "limit" example #10808

Closed
opened 2026-02-16 18:15:33 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3925

State: closed
Merged: Yes


When using a custom provider, the percentage-of-context-used was always showing zero; also auto-compact was not running when it should. After a bit of digging I found this can be corrected for by configuring the the model limits in the configuration file. I've added an example with some sample values to illustrate this.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3925 **State:** closed **Merged:** Yes --- When using a custom provider, the percentage-of-context-used was always showing zero; also auto-compact was not running when it should. After a bit of digging I found this can be corrected for by configuring the the model limits in the configuration file. I've added an example with some sample values to illustrate this.
yindo added the pull-request label 2026-02-16 18:15:33 -05:00
yindo closed this issue 2026-02-16 18:15:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10808