Repository navigation
Description
Is conversation summarization irreversible? Is the un-summarized conversation lost forever, or do previous prompts keep the full conversation before the summarization? This is critical to know when editing previous prompts:
- Submit a prompt such as "Change
foo()tobar()". - The dreaded "Summarizing conversation ..." appears; it finished with "Conversation summarized".
- Edit the previous prompt to "Change
foo()tobaz()".
Expected: GitHub Copilot summarizes the conversation again.
Actual: Often GitHub Copilot does not summarize the conversation again.
You might wonder, if I dread the conversation summarization so much (e.g. #283446), why I seem to be wanting it to appear. That's not the issue. This strange behavior makes me worried whether a later conversation summarization might be irrevocably losing the conversation, thus preventing the ability to resubmit prompts.
This happens often. I noted it in #286822:
I edited the previous prompt a third time to switch back to "Design" mode again. I asked the LLM to evaluate risk. Again it did not summarize. But here's the worrying part: after switching back to Agent mode to request the implementation a third time, even with a much larger prompt, no summarization occurred!! In fact the entire implementation proceeded with no summarization! …
Knowing what happens is important for many scenarios:
- Let's say I accidentally submit a prompt with Claude Haiku 4.5, but realize that I wanted to submit the problem with Claude Opus 4.5, because the problem is so complex that only Claude Opus 4.5 could handle it. If the conversation is summarized in that round and I resubmit the prompt with Claude Opus 4.5, does the conversation get restored so that Claude Opus 4.5 can see the full conversation? Or is Claude Opus 4.5 presented the pitiful summarization that happened during the first submission to Claude Haiku 4.5?
- Or let's say that the LLM summarizes in the middle of a huge implementation, and the summarization throws the LLM off-track. So I edit the previous prompt in order to force summarization so it won't happen in the middle of the implementation. (See GitHub Copilot facility for preemptive conversation history summarization #284474.) But at this point, has summarization already happened irreversibly?
- Sometimes editing the previous prompt still causes summarization to occur again. (See e.g. GitHub Copilot more likely to summarize converation when switching to Agent mode #286822.) What does that mean? Did it reset the conversation, and then summarize the full version? Or did it immediately summarize a summarization, because restoring to a checkpoint didn't undo the first summarization?
From the current GitHub behavior, it's hard to know what is actually going on with summarization. One more reason why I'm really just wanting to turn the durned thing off, but still don't know what that means either.
Version: 1.108.0 (user setup)
Commit: 94e8ae2b28cb5cc932b86e1070569c4463565c37
Date: 2026-01-08T13:53:10.781Z
Electron: 39.2.7
ElectronBuildId: 12953945
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200
Activity
roblourens commentedon Jan 14, 2026
It depends. The summary is associated with the last piece of summarized content. If you submit a request and it summarizes immediately, meaning that the new request/attachments were what pushed it over the edge, we summarize the previous turns, and resending the same request will use that summary.
If it's summarizing in the middle of the turn, generally the summary will be attached in the middle of the turn, and resubmitting the same request will not have that summary anymore.
This is all implementation detail though, it kinds of depends on the exact situation and how things work out, so this is just a general description. You can watch the debug log to see what actually happened.
roblourens commentedon Jan 14, 2026
Something for you- #287684 We are working on using this technique with Anthropic models which avoids LLM summarization (but has other tradeoffs and is still a pretty naive strategy, but it will be an interesting experiment)
garretwilson commentedon Jan 15, 2026
Oh, crap. This is not good.
This is concerning for two reasons:
garretwilson commentedon Jan 20, 2026
This is puzzling, because many times I will cancel the output of a result if I see that it summarized, and go back and edit the prompt (burning through credits) to include a huge copy of context (because I know the summarization will munge it), and I will see summarization happen again.
Maybe the question is: if summarization happens immediately, at what point is the summarization attached to that prompt to replace any other summarization? Is the summarization attached to the prompt only after the response is finished generating, so that if I cancel the response I don't get the new summarization replacement?
If I go back and resubmit a prompt before a prompt that summarizes, am I guaranteed to get back the information before summarization?