> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chorus.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing your Context Window

> Control what (and how much) the AI sees in Chorus

Language models have a **context window length** that is the maximum number of tokens it can handle. "Context" includes all information that's in the chat, whether it's text, images, or attachments.

Chorus provides several handy features to manage what's in the context.

## Managing what's "In Chat"

One of Chorus' core features is the ability to talk to [multiple models](../core/multiple-models) at once.

In Chorus, only one AI message is kept in the chat history for each turn of the conversation. This is the message marked as "In Chat". Not only does this keep the context of your chat smaller, it creates an easy linear history for the LLMs to understand.

To control what's "In Chat", simply click on a message to keep it.

<video src="https://mintcdn.com/chorus/Z4zDLdWahI28tjZx/images/add-model.mp4?fit=max&auto=format&n=Z4zDLdWahI28tjZx&q=85&s=82a243f9b3255cadf1ef12f197eec1bb" autoPlay loop muted class="rounded-2xl" data-path="images/add-model.mp4" />

## Summarizing and Starting a New Chat

If one of your models runs out of context length, you'll be presented with a error message. If you press the `Summarize and Start New Chat` button, it will:

* Summarize and transcribe your current chat
* Create a new chat, attaching the transcription as a markdown file
* Queue up your message that the AI was originally unable to respond to

<img src="https://github.com/user-attachments/assets/a0016375-91a9-4bb8-868c-21178bf666fd" alt="Context Limit Error" />
