When a long AI chat loses context: branch, summarize or restart
The first hour went great. The AI understood your project, remembered your constraints and built on earlier answers. Now, a hundred messages later, it forgets things you said, repeats suggestions you rejected and seems to have lost the plot. You haven't done anything wrong. Long chats wear down, and there are three reliable ways to recover: branch, summarize or restart. Here's how to tell which one you need.
Quick decision
Went off track at a specific point? Branch from just before it. Still on the same goal, but the chat is huge? Summarize and continue in a fresh chat. Has the goal changed? Restart with a short brief.
Signs your chat is losing context
- It forgets a constraint you set at the start, like the word limit, the tech stack or the audience.
- It contradicts a decision you agreed on twenty messages ago.
- It brings back an idea you already rejected.
- It mixes up details from two different topics you discussed.
- Answers get more generic, as if it’s only reading your last message.
One of these on its own can be a one-off. Two or three in a row usually means the conversation itself has become the problem.
Why long chats lose the thread
A model doesn't remember your chat the way a person does. On every turn, the app sends it the conversation so far, and the model reads all of it again from the beginning. That causes three problems as a chat grows:
- There is a limit. Every model has a maximum amount of text it can take in at once, called its context window. When a conversation goes past it, the app has to drop or shorten older messages, usually without telling you. Your first instructions are often the first to go.
- Long input is harder to use well. Even inside the limit, details buried in the middle of a very long conversation get less attention than the start and the end. Researchers have described this as being "lost in the middle".
- Topics compete. If one thread covers three directions, the model sees all three every time. A constraint from direction A can bleed into direction C, or get overridden by it.
A bigger context window helps with the first problem, but not with the other two. A shorter, more focused conversation helps with all three.
Fix 1: branch from the last good point
Use it when: you can point to where things went wrong, such as a misunderstood question, a detour or a bad answer you kept building on.
Go back to the last message where the chat was still on track and continue from there with a better question. Everything after that point no longer gets in the way. This is the fastest fix, because the good part of the conversation stays exactly as it was.
How well this works depends on the app. In ChatGPT and Claude, editing an earlier message starts a new version from that point, and you switch between versions with small arrows. In Chat Tree, every edit or re-ask becomes a visible branch, and since version 1.6 the model answering on a branch sees only that branch: the path from your first question down to the current one. Sibling branches never leak into its context. For more on working this way, see branching conversations: a better way to explore ideas with AI.
Fix 2: summarize and continue in a new chat
Use it when: the goal hasn't changed, nothing specific went wrong, and the conversation is simply very long.
Ask the model to write a handoff note, check it, and paste it into a new chat as your first message. A prompt that works well:
We're going to continue this work in a new chat. Write a handoff note I can paste there. Include:
1. The goal, in one or two sentences.
2. Decisions we've made, and why.
3. Constraints and requirements I gave you (exact wording where it matters).
4. What we tried that didn't work.
5. Open questions and the very next step.
Keep it under 300 words. No pleasantries.Always read the summary before you use it. If the chat has already lost context, the summary will have the same gaps. Fix anything that's missing or wrong. Point 3 matters most: constraints are what models drop first and what you notice last.
Keep the old chat. If the new one is missing something, you can go back and find it.
Fix 3: restart with a short brief
Use it when: the goal has changed, or the old conversation is mostly things you no longer want.
Don't carry over a summary of a direction you've abandoned. Start a new chat with a short brief: what you're working on, who it's for, the constraints, and what you want first. Five to ten lines is usually enough. A clean start almost always beats dragging old context along.
Which fix, at a glance
| Situation | Best fix | What you keep |
|---|---|---|
| It went wrong at a specific point | Branch | Everything before that point, word for word |
| Same goal, very long chat | Summarize | The decisions and constraints, in a short note |
| The goal has changed | Restart | Only what you write in the new brief |
How to keep chats from wearing out
- Start with a brief. Put the goal and constraints in your first message, in one place, rather than spread across the conversation.
- One direction per thread. When you want to explore something new, branch or open a new chat instead of changing topic mid-thread.
- Repeat what matters. For long work, restate the key constraints every so often, for example "Reminder: under 200 words, UK English".
- Don't paste more than you need. A whole document when you need one section uses context that your instructions could have had.
- Branch early. Branching from message 10 is easy. Untangling message 120 is not.
In Chat Tree you can also collapse questions you no longer need to look at, which keeps a long chat easy to read. This only changes the view: it doesn't change what the model sees. Branching is what controls the model's context.
FAQ
Why does ChatGPT forget what I said earlier?
Usually because the conversation has grown past what the model can use well. Older messages may be shortened or dropped to fit its context window, and details in the middle of a long chat get less attention. Branching from an earlier point, or summarizing into a new chat, usually fixes it.
Is it better to start a new chat or keep going?
Keep going while the answers stay sharp. Once the model forgets constraints or repeats rejected ideas, summarize and continue in a new chat if the goal is the same, or restart with a brief if it has changed.
Does a model with a bigger context window solve this?
It helps, because fewer messages get dropped. But a very long, mixed conversation is still harder for a model to use than a short, focused one. Shorter context is usually better context.
Do branches in Chat Tree share context?
No. The model answering on a branch sees only the messages on that branch, from the first question down to the current one. What you tried on other branches stays out of its way.