Repository navigation
Closed
microsoft/vscode-copilot-chat
#2655Closed
Copy link
Labels
bugIssue identified by VS Code Team member as probable bugchat-agentchat-askchat-summarizationinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded
Milestone
Description
Type: Bug
It keeps summarizing the conversation history over and over, not just at every prompt but before every action. This takes a very long time
Extension version: 0.32.3
VS Code version: Code 1.105.1 (Universal) (7d842fb, 2025-10-14T22:33:36.618Z)
OS version: Darwin arm64 24.6.0
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 Max (10 x 2400) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 5, 4, 4 |
| Memory (System) | 32.00GB (0.29GB free) |
| Process Argv | --crash-reporter-id dd5d6915-dc9f-4579-9924-4cc933af0408 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
vscrp:30673768
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31340697
6abeh943:31336334
aa_c:31379599
gendocstringf:31405073
0574c672:31404437
cloudbuttont:31379625
todos-1:31405332
qwen_all_req:31402696
treatment_gpt5applypatchexclusively:31398171
3efgi100_wstrepl:31403338
nes-auto-10:31401735
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
applesignin:31399435
defaultusage:31403421
dcggh915:31405779
nes-subseq-delay-200:31400950
je187915:31401254
3i15c187:31405349
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugchat-agentchat-askchat-summarizationinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded
Activity
garretwilson commentedon Nov 15, 2025
This just happened to me. Each summarization took minutes. Then it would read a portion of file, and do more summarizations. The it would do a few edits in that file, and do more summarization. I probably lost 20 or 30 minutes in this little ordeal.
I don't know if it's related, but for some reason the request added "codebase" when I didn't ask it to (very irritating). This happened immediately after. Maybe the codebase gave it so much to summarize.
This ticket is probably a duplicate of #276657.
tamuratak commentedon Nov 15, 2025
You can turn off the summarization with the setting
github.copilot.chat.summarizeAgentConversationHistory.enabled:garretwilson commentedon Nov 15, 2025
But then what happens when the context window is full? I may go all day just getting started on a ticket implementation!
roblourens commentedon Nov 16, 2025
When it's looping, I would appreciate seeing some logs of requests https://github.com/microsoft/vscode/wiki/Copilot-Issues#language-model-requests-and-responses and the Copilot Chat output channel
vs-code-engineering commentedon Nov 23, 2025
This issue has been closed as it has been labeled with
info-neededand has not received the additional information that was requested from the issue author. It has been labeled asinfo-neededfor 7 days.garretwilson commentedon Nov 23, 2025
This should not be closed; it's a significant issue.
Just now I gave the prompt:
S3SynchronizerTest.javaandS3SynchronizerIT.java.Creating two files should not result in summarizing the conversation history. If that fills the context window, then conversation history summarization isn't being done effectively. Then asking a follow-up question should not result in more summarization.
What do you need to see from the exported chat debug log?
roblourens commentedon Nov 24, 2025
I'd like to see whether the summarization failed, or whether you somehow ended up with enough in the request to trigger summarization again.
Most likely it failed for some reason, the Copilot Chat output channel log at the 'debug' level would be helpful. Some request logs would also help.
garretwilson commentedon Nov 24, 2025
I'm asking what specific information do you want to see from the log? It generates a lot of stuff, and as I am careful about not submitting confidential information, I don't intend to just blindly send the whole thing.
The first thing I was greeted with this morning was "Summarizing conversation history".
43 remaining items
garretwilson commentedon Dec 13, 2025
Frankly I haven't touched tool definitions at all, other than make a "Reviewer" agent that has no tools. But maybe I should give it tools as well so it will be looking at the actual files instead of some highly-redacted summary? That seems to be what you're implying: if I don't provide any tools, then the agent won't be able to "really see" what is in my workspace?
As you know about the inner workings of the agents (I have to just guess from the ever-changing and sometimes-stale documentation), what tools would you recommend for "Discuss" and "Reviewer" agents to make sure they can read and explore the workspace as much as they want, but just not make any changes?
One other doubt I had: does switching from one agent to another, such as from "Agent" to "Discuss", automatically invoke some sort of summarization, or is the context carried over exactly? Would it cause summarization to happen more frequently? I'd like to switch agents at any time to refine the prompt and have limited tool usage to prevent modifications, but I wouldn't want that to somehow reduce the fidelity of the context or to increase summarization frequency.
garretwilson commentedon Dec 16, 2025
Good news! In several days I have not seen any summarization loops, other than the initial one when transitioning away from Ask mode to Agent mode. Let's hope that the loops were some combination of the Opus-related bug and the Ask mode bug you mentioned. 🤞I'll continue to monitor it, but it's looking positive on this front. (Now the issue becomes quality of summarization, discussed in #283446.)
roblourens could you address the doubts I raised in my previous comment regarding tools and information round-trip carryover? I want to make sure I'm setting up my Ask mode replacement custom agents correctly. Thanks.
Let built-in chat participants share metadata
roblourens commentedon Dec 21, 2025
That's right
Nope. The toolset is swapped out, any instructions in your custom agent are added to the system prompt, and the rest of the conversation context is persisted exactly.
Wonderful! Thanks for trying the new flow and helping me figure this out! I've pushed a fix for this scenario with old Ask mode.
Let built-in chat participants share metadata (#284636)
roblourens commentedon Jan 6, 2026
Team verification steps:
You can use
github.copilot.chat.summarizeAgentConversationHistoryThresholdto trigger summarization at a lower token threshold if you want