Desktop · Guides

Keep a long conversation in bounds

See how full a chat is, let TALOS compact it without waiting, compact it by hand or with /compact, choose who writes the compaction, and undo one.

Checked on Desktop 0.1.38

A newer version is out (Desktop 0.2.4): some details may differ.

A long conversation eventually fills the model’s window. TALOS keeps it in bounds by compacting it: the past is condensed, the conversation goes on, and every message stays in the archive. Why it matters is explained in What the model reads.

Everywhere on screen the gesture has one name: Compaction.

  • The Context tab of the right panel says how much of the limit is used (“62% of the limit used”, or Over the compaction limit), how many tokens are left before compaction starts by itself, and What fills the window. While automatic compaction is on, it does not warn you as the window fills up: one line, Compacts by itself, says the oldest part will be summarized by itself, with Compact now next to it. Only with automatic compaction off does it say The window is almost full. When tools weigh a lot, it suggests turning off the MCP servers you do not use, with Manage MCP servers. A count that is an estimate is marked “~”.
  • The same tab lists the Compactions of this conversation: for each one, the turn it happened at, the tokens it freed, who wrote it — by the model, by the backup, or quick, without the model — and what it cost: “12,400 tokens spent”, no cost, or spent, not measured. Over time draws the window send by send; the dashes mark where a compaction freed space.
  • When the provider’s prompt cache started over, the tab says when and why — the model changed, the tool list changed, the instructions changed, the conversation was compacted, or it expired after a pause — and about how many tokens were read again without the cache discount.
  • Context Manager, in the chat’s top bar, opens the same measure in a window, with an Overview page and a Compact now… button.

New conversations use the context engine: first it sets old tool output aside, and only if that is not enough it compacts the past. Your own requests are kept word for word. The Context tab says which limit applies, and why.

  • To change this for new conversations, open Settings → Memory and context → Context engine and switch off Use it for new conversations. New conversations then use the simple compaction, which compacts above 75% of the model’s window. Conversations already started keep the one they began with.

When a long conversation needs compacting, the chat does not wait: a quick compaction made without the model starts right away, and the model’s compaction replaces it as soon as it is ready. The row in the chat says which one you have:

  • Quick compaction without the model — the model’s one is on its way and takes this one’s place at your next message. Nothing to do.
  • Compaction improved by the model — the model’s compaction has replaced the quick one.

When a turn does have to wait, one line shows Compacting the context with its progress and an estimated time, and two buttons:

  • Skip — go on with a compaction made without the model;
  • Stop — stop the run.

The wait has a time ceiling. When the compaction is made without the model — because you skipped it, it took too long, the model’s one did not pass the check, or it failed several times in a row — TALOS says so, and why.

Three ways, the same result:

  • Type /compact in the composer and send it. It compacts at once: nothing is sent to the model as a message. With a file attached it stays an ordinary message.
  • In the Context tab, choose Compact now and confirm Compact the conversation now? The older turns become a compacted version; the last requests stay word for word.
  • Open Context Manager from the chat’s top bar, choose Compact now…, and confirm.

When it does not compact, it says why: Nothing to compact yet, or This compaction freed no space. The conversation stays as it was.

Choose who writes the compaction, and who stands in

Section titled “Choose who writes the compaction, and who stands in”

For all chats, open Settings → Memory and context. The card Conversation compaction always shows the chain in one sentence: “Now: ‹model›, then ‹backup› if it does not answer, then a quick compaction without a model.” Open Advanced to change it:

  • Compaction model — writes the compactions of long conversations. Same as the conversation reuses that conversation’s cache, so it costs less.
  • If it does not answer — the backup, used only when the compaction model is blocked or does not answer: None: quick compaction without the model, The conversation’s model, or a model you choose. It is never chosen for you.

When the chosen model cannot be used — a plan or provider limit until a given time, no network, no key, the provider not set up, no access with your account — the card says so in plain words and offers Choose another. The Settings page of Context Manager shows the same sentence under For all chats, with Change the model and Choose a backup.

For one chat only, open Context Manager → Settings. Under For this chat, Manage automatically is on by default. Advanced holds Compaction model (Follow the chat model, or Choose a model with its Provider and Model), Start automatically at (%), Target after compaction (%) — it must be below the start, or the settings are not saved — Recent exchanges to keep and Compaction instructions. Then Save settings.

A conversation started with the simple compaction shows a simpler Context Manager: you can compact it by hand, but facts to keep, versions and these settings are only in conversations that use the context engine.

In the Not to be forgotten page, Add a fact that must survive the compaction, and Save fact. These facts stay separate from the compaction; you can edit and remove them. When TALOS proposes to change one, the proposal waits for you: Accept proposal, or Keep the fact.

Undo a compaction, or go back to an earlier one

Section titled “Undo a compaction, or go back to an earlier one”
  • Each compaction leaves a row in the chat. With the context engine it reads Context compacted, and View context opens Context Manager. With the simple compaction it reads Conversation compacted, with the tokens saved, and its ⋯ menu can Show what was compacted and Undo the compaction: the whole conversation goes back to the model.
  • Versions and sources lists the saved compactions. Restore an earlier one and confirm; the messages after it stay in the chat.

If compactions stop making the conversation shorter, TALOS pauses the automatic ones and says so once, in a row: Automatic compactions paused — the last ones did not make the conversation shorter; /compact still runs one.

  • The message is too large for this model. — nothing was sent and you spent nothing; the text is back in the box. Send as attachment puts the whole text in a file of the conversation and keeps its beginning and end in the message.
  • Conversation not compacted · no model available — neither the compaction model nor the backup could do it: the conversation stays whole. Check the card in Settings → Memory and context.
  • Compaction by ‹model› (backup) — the compaction model was not available, so the backup wrote it. The row says why.
  • Automatic compaction failed — the row says how many times in a row, and when the next automatic try is.
  • The context changed — someone, or the model, changed it while you were editing. The data is refreshed: review and repeat your change.
  • Measurement not available yet — it says so instead of showing a zero.

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model