Skip to content

GitHub Copilot more likely to summarize converation when switching to Agent mode #286822

Open

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:

Image

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!

Image

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

  1. added
    chat-ext-issue
    on Jan 9, 2026
  2. removed
    chat-ext-issue
    on Jan 9, 2026
  3. garretwilson commented on Jan 9, 2026

    @garretwilson
    Author

    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?

    This simplistic summarization is happening so often at the wrong time that I'm just about to the point to want to turn off summarization altogether as suggested in #281732. Until I can control when summarization happens (this ticket), and until summarization is more intelligent (#283446), I think I would get better results by letting the earlier conversation get truncated and just periodically asking the LLM to summarize certain conclusions and plans, so I can paste them back in as needed. (An intelligent summarization should be doing this anyway as I describe in #283446.)

    However will disabling summarization simply result in truncation of the earliest part of the conversation? From the conversation in #281732 it's not clear if truncation will happen or what will happen. Please clarify truncation behavior if conversation summarization is disabled.

  4. changed the title [-]GitHub Copilot more likely to summarize converation when switching to Agent[/-] [+]GitHub Copilot more likely to summarize converation when switching to Agent mode[/+] on Jan 9, 2026
  5. garretwilson commented on Jan 12, 2026

    @garretwilson
    Author

    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:

    Image

    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":

    Image

    Grrr... 😠

  6. garretwilson commented on Jan 12, 2026

    @garretwilson
    Author

    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:

    Image

    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?

  7. garretwilson commented on Jan 19, 2026

    @garretwilson
    Author

    And yet again:

    Image

    😠

    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?

  8. garretwilson commented on Jan 22, 2026

    @garretwilson
    Author

    I don't think there can be any doubt now:

    Image

    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?

  9. HazelLessiter commented on Mar 26, 2026

    @HazelLessiter

    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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions