Skip to content

What happens when editing a GitHub Copilot prompt after conversation summarization? #286932

Closed

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:

  1. Submit a prompt such as "Change foo() to bar()".
  2. The dreaded "Summarizing conversation ..." appears; it finished with "Conversation summarized".
  3. Edit the previous prompt to "Change foo() to baz()".

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

  1. added
    chat-ext-issue
    on Jan 10, 2026
  2. removed
    chat-ext-issue
    on Jan 10, 2026
  3. roblourens commented on Jan 14, 2026

    @roblourens
    Member

    Is conversation summarization irreversible? Is the un-summarized conversation lost forever, or do previous prompts keep the full conversation before the summarization?

    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.

  4. roblourens commented on Jan 14, 2026

    @roblourens
    Member

    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)

  5. added
    *question
    on Jan 14, 2026
  6. garretwilson commented on Jan 15, 2026

    @garretwilson
    Author

    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.

    Oh, crap. This is not good.

    1. I asked a complicated design question, inadvertently using using Claude Haiku 4.5.
    2. GitHub Copilot immediately started summarizing.
    3. I quickly canceled summarizing, edited the prompt, and resubmitted using Claude Opus 4.5.
    4. GitHub Copilot performed no further summaries in response to the resubmitted prompt, even though the analysis and resulting response was lengthy.

    This is concerning for two reasons:

    • It is really bad that if I inadvertently get a summarization by a really poor model, I'm stuck with it, because it wiped out the actual conversation history! (This is why I raised Specify GitHub Copilot LLM specifically for summarizing conversation history #282207, but now it's worse to know that I can't go back and resubmit the prompt to another model!)
    • I am 90% positive that I canceled the summarization before it was finished. Does this mean that the partial-summary of the previous turns replaced the on-going summary, so that resending the same request as you described used a partial-summary that had been canceled?
  7. garretwilson commented on Jan 20, 2026

    @garretwilson
    Author

    … 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.

    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?

  8. locked and limited conversation to collaborators on Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

*question

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions