Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

background compaction just landed in OpenCode as a experimental setting go try it out and tell us what you think

84,040 Aufrufe • vor 6 Tagen •via X (Twitter)

35 Kommentare

Profilbild von Stefan
Stefanvor 6 Tagen

@opencode how does it work?

Profilbild von ♠️ Critical Nexus ✊🏿
♠️ Critical Nexus ✊🏿vor 6 Tagen

@opencode @Teknium this would be nice for hermes

Profilbild von Daniel Lenton
Daniel Lentonvor 6 Tagen

@opencode There goes my 55 second break

Profilbild von avrl ☘
avrl ☘vor 6 Tagen

@opencode Finally its here, this was in github copilot and I really wanted this in opencode as im experimenting cool stuff with it

Profilbild von Ayush Walekar
Ayush Walekarvor 6 Tagen

@opencode Gotta update my notes already:

Profilbild von PsyChip
PsyChipvor 6 Tagen

@opencode that's the one of parts in my own fork i struggled often, found the solution as forks. letting each agent consume their own context eg one question+5 subagents starting from a single feature list, a common goal set by user bring the fork feature

Profilbild von Jitendra
Jitendravor 6 Tagen

@opencode is there any relation of compaction with cache?? I wanna understand if compaction is killing the cache

Profilbild von Filip
Filipvor 6 Tagen

@opencode no it's not killing the cache, its working as it used to but faster

Profilbild von Pratham
Prathamvor 6 Tagen

@opencode I saw this in Pi first in the Discord server, so I'm so glad to see more harnesses adopting this!

Profilbild von Khushal
Khushalvor 6 Tagen

@opencode finally it forgets stuff in the background like a normal person

Profilbild von alex getman
alex getmanvor 6 Tagen

@opencode @thsottiaux you know

Profilbild von ZOHEB THE DEV
ZOHEB THE DEVvor 6 Tagen

@opencode woopencode

Profilbild von 동욱
동욱vor 6 Tagen

@opencode Does the agent keep working while it compacts, or does the turn wait until it's done?

Profilbild von Jimmy Young | building LUCI
Jimmy Young | building LUCIvor 6 Tagen

@opencode When a tool finishes while the summary is being written, does its result stay verbatim after the switch?

Profilbild von Antonio Ivanovski
Antonio Ivanovskivor 6 Tagen

@opencode Would be nice to be possible to configure thresholds per context size or per model or agent.

Profilbild von Osinachi Okpara
Osinachi Okparavor 6 Tagen

@opencode I hope @ajambrosino and @thsottiaux are seeing this? 🥲

Profilbild von Donnie
Donnievor 6 Tagen

@opencode a connection is made 🎵

Profilbild von toe_knee
toe_kneevor 6 Tagen

@opencode Is it intentional that openai native compaction only works if you use the auth methods marked "legacy" was confused why mine stopped working when I had to reauth today

Profilbild von Eran Mazur
Eran Mazurvor 6 Tagen

@opencode Was trying to figure out other methods of compaction for a while now.. this one looks very interesting

Profilbild von Braden
Bradenvor 6 Tagen

@opencode We do this in Buddy! It's a huge QoL win.

Profilbild von Caelan C
Caelan Cvor 6 Tagen

@opencode Hell yeah

Profilbild von Donnie
Donnievor 6 Tagen

@opencode also, this is fast fast

Profilbild von Max
Maxvor 6 Tagen

@opencode What about caching? Do you keep the system prompt + tools stable so they stay cached or each compaction just invalidate the whole cache?

Profilbild von Yuvraj
Yuvrajvor 6 Tagen

@opencode Wish codex team implement this

Profilbild von g_vit
g_vitvor 6 Tagen

@opencode Letting compaction run quietly is a welcome improvement for focus.

Profilbild von Sid Borah
Sid Borahvor 6 Tagen

@opencode Whats the logic? is it configurable? if cacheExpired && context.size() > 80% ??

Profilbild von Adam Liu.
Adam Liu.vor 6 Tagen

@opencode FYI a lot of people are asking why DeepSeek v4.1 flash is so slow and doesn’t feel the same as the official api

Profilbild von blankfella 🦫🦀
blankfella 🦫🦀vor 6 Tagen

@opencode The point is to never need compaction so I hope it stays opt in

Profilbild von OP or Mid
OP or Midvor 6 Tagen

@opencode compacting in the background instead of freezing the session mid-task is a nice quality of life change. long sessions are where that stop and wait feeling hurts most.

Profilbild von heath
heathvor 6 Tagen

@opencode If it preserves the current step and tool results, background compaction could make long coding sessions way less stop-start.

Profilbild von Ongi | AI web pipelines
Ongi | AI web pipelinesvor 6 Tagen

@opencode compaction in the middle of a task is exactly where mine forget what they were doing will give it a try

Profilbild von Claudiu C. Bogdan
Claudiu C. Bogdanvor 6 Tagen

@opencode That looks so cool! I hope codex and claude do the same it soon.

Profilbild von AI 教父(外挂版)
AI 教父(外挂版)vor 6 Tagen

@opencode 后台自己压上下文,人才不用盯窗口水位。 这截该外挂出去——别自己手动清 session。

Profilbild von ounissi zakaria
ounissi zakariavor 6 Tagen

@opencode what do you think about omp's snapcompact ?

Profilbild von doanbactam
doanbactamvor 6 Tagen

@opencode does background mode still wait until the context is full to kick in?

Ähnliche Videos