Continue a long conversation with a shorter context
When a Chat becomes long, Compact Context asks your selected model to summarize its older messages. The summary and the recent messages you keep form a new path in the same Chat.
Open Naidan and choose the long Chat you want to continue. If first-time setup appears, choose a working endpoint and model and finish setup before compacting.
Choose a working model and endpoint first. Read the generated summary before relying on it: a model can miss or misstate details. If you still need to set up a model, see local model connection options or browser model setup.
1. Open Compact Context from the Chat header
Open More Actions (the three dots) in the Chat header, then choose Compact Context. Super Edit is a separate action beside it for changing the conversation history yourself.
Research notes
You
Compare the sources before choosing a direction.
Original2 / 2Compacted
Assistant
The sources have been compared. The open question is which direction to test first.
You
Let’s test the first direction.
Print
Search in Chat
Super Edit
Compact Context
Compact ContextMemory Reconfiguration
4 To Compact 6 To Keep
Messages to keep6
More historyMore context
CompactBalancedDeep
Older messages become one summary before the recent messages you keep.
Compact Prompt
Preserve the context needed to continue.
Editable Prompt
Keep the decisions, open questions, and next action.
Compacting contextAbort compact
Generating the summary…
Hide request
Summarize older messages and preserve the decisions.
Live output
The sources were compared. The next decision is…
Compact Context is in the header’s More Actions menu.
2. Choose how many recent messages to keep
The dialog initially keeps up to six recent messages. In a shorter Chat, the count drops so at least one older message remains to summarize. Move the slider or choose a preset to set the count; the older messages shown as “To compact” will be summarized. A preset is unavailable when the Chat is too short for that count.
Research notes
You
Compare the sources before choosing a direction.
Original2 / 2Compacted
Assistant
The sources have been compared. The open question is which direction to test first.
You
Let’s test the first direction.
Print
Search in Chat
Super Edit
Compact Context
Compact ContextMemory Reconfiguration
4 To Compact 6 To Keep
Messages to keep6
More historyMore context
CompactBalancedDeep
Older messages become one summary before the recent messages you keep.
Compact Prompt
Preserve the context needed to continue.
Editable Prompt
Keep the decisions, open questions, and next action.
Compacting contextAbort compact
Generating the summary…
Hide request
Summarize older messages and preserve the decisions.
Live output
The sources were compared. The next decision is…
Here, four older messages are summarized and six recent messages are kept.
3. Check the prompt and start the summary
Expand Compact Prompt if you want to edit the instruction sent with the older messages. Select Compact Now to start. The progress strip shows the request and incoming summary. While the model is generating, Abort compact stops the operation without adding a new path.
Research notes
You
Compare the sources before choosing a direction.
Original2 / 2Compacted
Assistant
The sources have been compared. The open question is which direction to test first.
You
Let’s test the first direction.
Print
Search in Chat
Super Edit
Compact Context
Compact ContextMemory Reconfiguration
4 To Compact 6 To Keep
Messages to keep6
More historyMore context
CompactBalancedDeep
Older messages become one summary before the recent messages you keep.
Compact Prompt
Preserve the context needed to continue.
Editable Prompt
Keep the decisions, open questions, and next action.
Compacting contextAbort compact
Generating the summary…
Hide request
Summarize older messages and preserve the decisions.
Live output
The sources were compared. The next decision is…
The editable instruction, Compact Now and progress strip follow the selected keep count.
4. Review the new path before continuing
The completed summary becomes an assistant message at the start of a new path, followed by copies of the recent messages you kept. The Chat switches to this path. Its original history remains available through message versions.
Research notes
You
Compare the sources before choosing a direction.
Original2 / 2Compacted
Assistant
The sources have been compared. The open question is which direction to test first.
You
Let’s test the first direction.
Print
Search in Chat
Super Edit
Compact Context
Compact ContextMemory Reconfiguration
4 To Compact 6 To Keep
Messages to keep6
More historyMore context
CompactBalancedDeep
Older messages become one summary before the recent messages you keep.
Compact Prompt
Preserve the context needed to continue.
Editable Prompt
Keep the decisions, open questions, and next action.
Compacting contextAbort compact
Generating the summary…
Hide request
Summarize older messages and preserve the decisions.
Live output
The sources were compared. The next decision is…
The shorter path is in the same Chat; the original path is retained.