Skip to main content

Context compression

The context window determines how much information the model can process in a conversation. Its capacity depends on the selected model.

How it Works

Context compression makes the current conversation's context usage visible and helps you choose an appropriate action.

Compact Chat

  • When to use it: You are continuing work on the same topic, the conversation has become long, and the context window is nearly full.
  • What to do: Open the context usage indicator near the chat input and select Compact Chat. Qoder CN IDE summarizes the conversation and retains key code logic and task context.
  • Result: The model has less conversation history to process in subsequent requests.

New Chat

  • When to use it: You are switching to a new topic or task, such as moving from fixing a bug to developing a new feature.
  • What to do: Select + at the top of chat to start a new conversation.
  • Result: The new conversation starts with a separate history.
Compression is unavailable early in a conversation or while Qoder CN IDE is generating a response.