Ninja Builder Sign in Get started

Context and auto-compact

The context is the AI's working memory for one conversation; when a long chat fills it, compacting summarises the older parts so the chat can go on and each reply costs less. This page covers: how the context meter fills up and how compacting keeps long chats going for less.

1 topic · 1 min read

Context meter and compacting

A long chat fills the AI's memory for the conversation (its context). Compacting summarises older parts so the chat can go on and each reply costs less.

How to use it

  1. Watch the Context chip in the message box: the chip itself fills from the left as the conversation grows, behind its number. Point at it for the details (last reply, project, branch, model).
  2. Type /compact to compact now.
  3. Or let auto-compact do it: when the context passes your limit, the app compacts between messages by itself.

Where SettingsGeneralSpeed & costContext auto-compact sets the limit for all projects. Project settingsProjectContext auto-compact overrides it for one project (blank means use the general setting).