Repository navigation
Description
GitHub Copilot seems more likely to summarize a conversation when switching to Agent mode. This is literally the worst time to summarize, as we may have made extensive plans in Plan mode (or in a custom agent such as "Discuss"), and we are switching to Agent mode to implement a plan. Summarizing the plan before starting implementation, especially using its dismal conversation summarization algorithm (#283446), increases the likelihood of a botched implementation by losing essential components of the plan.
(This issue may have already existed. Only now am I familiar enough with the GitHub Copilot behavior to start noting trends.)
Here is an example. I had been planning for quite a while in a custom "Discuss" agent. I used a small custom prompt, which switched to "Agent" mode. Immediately GitHub Copilot started summarizing:
As this is the worst possible time to summarize, I aborted the output and edited the prompt to ask the LLM to produce a full plan first. The LLM produced the plan in the conversation without summarizing.
So after producing the plan, I asked the LLM to implement it, again using the small prompt that switched to "Agent" mode. Again GitHub Copilot immediately started summarizing!
My point here is that switching to Agent mode seemed to initiate summarizing, while if I switched back to the non-agent mode, summarizing did not occur until I switched to Agent mode again.
But it gets worse: 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! (I've seen this happen before as well; I have now opened #286932 for this.) When I restore to a previous checkpoint, it "undoes" the summarization, correct? If not, does this mean that once summarization has happened, the pre-summary version is irrevocably lost, even when restoring to a checkpoint by editing a previous prompt? (Then what does it mean when it summarizes twice in a row after restoring a checkpoint? Is it summarizing a summary? This whole thing is very suspicious, and getting more suspect every day. I want to avoid it like the plague now.)
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
garretwilson commentedon Jan 9, 2026
This is one of the many reasons I'm about ready to just turn off summarization altogether. roblourens can you clarify the answer to what I asked in another ticket?
[-]GitHub Copilot more likely to summarize converation when switching to Agent[/-][+]GitHub Copilot more likely to summarize converation when switching to Agent mode[/+]garretwilson commentedon Jan 12, 2026
I swear I am not imagining this! Truly, whenever I have a have a custom prompt that switches to "Agent" mode, GitHub Copilot initiates conversation summarization! This cannot be a coincidence:
So I edited the prompt and switched back to the custom "Discuss" agent. Again the discussion continued for 10 or 20 minutes without summarization. But as soon as I switched back to "Agent":
Grrr... 😠
garretwilson commentedon Jan 12, 2026
There it goes again. This time I didn't even use a custom prompt! I simply asked it what tests were missing, then switched to "Agent" mode to add the tests:
This is not a coincidence. Something is going on with Agent mode.
One of the takeaways of #272987 is that I need to avoid the Ask mode because it is/was buggy. (So I created a custom "Discuss" agent.) Now do I need to avoid "Agent" mode (and perhaps create a custom "Develop" agent) as well? Is there something I would be losing with my own custom Agent mode replacement? Is "Agent" hard-wired with some special capabilities?
garretwilson commentedon Jan 19, 2026
And yet again:
😠
roblourens can you acknowledge that there is something about Agent mode that make it more likely that the conversation will be summarized when switching from a custom agent to Agent mode?
garretwilson commentedon Jan 22, 2026
I don't think there can be any doubt now:
roblourens can you please at least acknowledge that this is an issue, and let me know whether creating a custom "Agent" agent would prevent this from happening? Or does "Agent" mode have some capabilities that a custom "Agent" agent would not have?
HazelLessiter commentedon Mar 26, 2026
I'm seeing the same thing. Rather comcerningly today I received the summary after one prompt, then agian after the following prompt. It's clearly excessive (Visual Studio Pro 2026, Claude Sonnet 4.5)