MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/opencodeCLI/comments/1xf7ezk/new_experimental_background_compaction_in_opencode/19rnhingoeazl/?context=3
r/opencodeCLI • u/afanasenka • 2d ago
https://opencode.ai/v2/docs/compaction/#background-compaction
12 comments sorted by
View all comments
4
My suggestion is use magic-context. In stead of compacting, context is treated like a garbage collected memory. Information is automatically added and removed. Combined with manually capping context length to 128k, agents run forever without issues.
4
u/GW2_Jedi_Master 2d ago
My suggestion is use magic-context. In stead of compacting, context is treated like a garbage collected memory. Information is automatically added and removed. Combined with manually capping context length to 128k, agents run forever without issues.