DocsContext & knowledge

Context compaction: how long conversations continue

Updated December 5, 20262 min readcontextcompactionlong-form
In this section: Context & knowledgeAll docs →

Long conversations fill the model's context window. FeelFish compacts before that: earlier turns become a summary of key facts, then writing continues.

When compaction happens

  • automatically when the model window is nearly full;
  • when a message you send would exceed the context limit, it compacts first, then sends;
  • you can also summarize and compact by hand to free up space on purpose.

Compaction works per conversation and does not affect your project files.

What happens after compaction

  1. Earlier conversation is replaced by one summary card;
  2. The summary keeps the key facts: characters, plot, agreed details;
  3. You can keep writing right away, or click "Continue current task" on the summary card.

Compaction does not decide for you: it never sends a message by itself and never starts the next chapter. The next step is always yours.

How summary quality is protected

  • A summary must be complete text: truncated output, content filtering, or stray tool calls all count as failure, and a half-written summary is never written back.
  • Compaction trims only the input of that one request; project files, session archives, and your history stay unchanged.
  • After repeated failures, automatic compaction stops with a warning, so credits are not burned in a loop.

Making compaction rarer and better

  • One conversation per chapter: start a new session when you finish, and history stays short.
  • Put key settings in project files, not only in the conversation — summaries may omit repeated information.
  • Split long tasks: one job per request beats "write the next three chapters while you are at it".

When the prompt says the context is over the limit

Work through this order:

  1. Switch to a model with a larger window (the model dropdown shows the context size);
  2. Start a new session and attach only the material you need;
  3. Split the task — one chapter or one scene per request;
  4. If a single message is already too large, send it in parts and say "read this first, then wait for the next part".

More troubleshooting: what to do when the prompt context is over the limit.

FAQ

Does compaction lose content?

It loses detail but keeps facts. Important content belongs in project files, not only in the conversation.

Does compaction use credits?

Yes, compaction is itself a model request. Frequent compaction means the conversation is too long; one session per chapter helps.

Can I still see earlier messages after compaction?

The message list keeps the original conversation and the summary card; only the history sent to the model gets shorter.

Was this page helpful?

Related reading