mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4278] In opencode, context compression cannot be invoked automatically. #1884
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1884
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @bai-yongfei on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4278
prompt (341477 tokens) leaves no room to answer in the context (262144); requests are never truncated
@github-actions[bot] commented on GitHub (Oct 27, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
strata --version).Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@dandandelion commented on GitHub (Oct 27, 2026):
Happens to
pialso. Just configure your opencode and set maximum output to a realistic amount like 64k or 82k and always reserve around that amount@Niko1221 commented on GitHub (Oct 29, 2026):
Strata does not cut a prompt that is too long; the client has to compact before the window is full. Run
strata connect opencode --write(orstrata connect opencodeto print it): it writeslimit.context,limit.inputandlimit.outputfor the model. Withoutlimit.input, OpenCode never compacts. Add the same three numbers to youropencode.jsoncif you keep the file by hand.@github-actions[bot] commented on GitHub (Nov 1, 2026):
Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.
To bring it back: fix the title (area prefix) and the missing parts, then comment
/reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.