Skip to content

feat: autocompact in opencode.json - #3078

Closed
fkukuck wants to merge 1 commit into
anomalyco:devfrom
fkukuck:feat/autocompact-from-opencode-json
Closed

fkukuck wants to merge 1 commit into
anomalyco:devfrom
fkukuck:feat/autocompact-from-opencode-json

Conversation

@fkukuck

@fkukuck fkukuck commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Addresses #2945

Changes

Introduce an autocompact boolean to opencode.json that defaults to true.
It makes the functionality of OPENCODE_DISABLE_AUTOCOMPACT more accessible.

Implementation is inspired by implementation of autoupdate boolean.

@webboty

webboty commented Oct 10, 2025

Copy link
Copy Markdown

Interesting PR ... from your experience how does opencode perform once we hit 100% of the CTX window?
Will it just for get the ctx from the beginning or will it error out (based on the provider/LLM used it may try to feed more ctx as aloowed)?

@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants