Пропустить навигацию
Shelley's new compaction algorithm: a tool that the model calls to "squish" and "trim" prior…
0:00 / 0:24

Shelley's new compaction algorithm: a tool that the model calls to "squish" and "trim" prior…

David Crawshaw

@davidcrawshaw15 тыс. подписчиков

Открыть в X
279 отметок «Нравится»СкачатьОригинальный пост

15 937 просмотров

Shelley's new compaction algorithm: a tool that the model calls to "squish" and "trim" prior messages.

12 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Jeff Huber

    @jeffreyhuber

    nice viz

    3 отметки «Нравится»

  • Фото профиля Nope that ain't me

    @kamikaz1_k

    Why did you use to animate ?

    2 отметки «Нравится»

  • Фото профиля 0xblackcat.eth

    @quangndedu

    Love your illustrarion. How can u do that?

    2 отметки «Нравится»

  • Фото профиля Kelly J. Rose (kjrose)

    @kjrose

    Letting the model pick what to squish is a fun trust exercise. Does it go after giant tool outputs first? My bet is one 400-line log dump nobody needed is always the real context hog.

    1 отметка «Нравится»

  • Фото профиля Buswe

    @buswe_com

    Keeping the pre-squish text on disk pays off: when a trim drops something needed you re-expand that one message instead of rerunning.

    1 отметка «Нравится»

  • Фото профиля Daniel Lenton

    @DanielLenton1

    your second version, a summary plus the last few messages kept verbatim, is pretty much what claude code does now. what made you drop it?

  • Фото профиля Jyothidhar

    @jyothepro

    like that the model picks what to trim instead of a fixed cutoff. old tool output is usually the dead weight, not the actual conversation

  • Фото профиля Tommy

    @agneau123

    Failed constraints still get trimmed first

  • Фото профиля von

    @evolnahguav

    Very cool. I wonder what impact this would have on autoresearch workflows where the agent is doing heavy data analysis

  • Фото профиля John Rood

    @johnroodepic

    the first thing a squish eats is the why: a decision gets trimmed to one line, so next session the agent reads 'no retries on webhooks' as an arbitrary constraint and proposes removing it. log every trimmed decision with its reason, outside the window. that's the whole reason i built memoryrouter.

  • Фото профиля Steven John

    @StevenJPx2

    How does it keep the prompt cache?

  • Фото профиля AI Quanting

    @AIQuanting

    Letting the model pick what to drop is the interesting gamble there. Whatever decides something is safe to forget is the same thing that needs it forty turns later. Does it ever squish something and then go hunting for it again?