vscode-copilot-release icon indicating copy to clipboard operation
vscode-copilot-release copied to clipboard

Copilot repeating its answer/suggestion infinitely, with no option to cancel

Open ericktreichel opened this issue 9 months ago • 7 comments

Type: Bug

I just asked Copilot (with 3.7 Sonnet Extended Thinking) to give me a help and some ideas about how to organize my new module, and it is repeating insanely the same stuff, with part of the answer being visible, and other part looks like it's being processed. That, repeated 100 times (so far)

Extension version: 0.26.2025032201 VS Code version: Code - Insiders 1.99.0-insider (dc289883be5d37d5d2b2f7d30926aa42a3123437, 2025-03-21T19:26:48.394Z) OS version: Windows_NT x64 10.0.26120 Modes: Remote OS version: Linux x64 6.13.8-WSL2-STABLE+ Remote OS version: Linux x64 6.13.8-WSL2-STABLE+

Logs
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [5ef362aa-0564-4587-88e5-ebf22b333a72] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [218aa031-d6a1-4da5-a767-de0e7df8ceef] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [4f5533fe-cb22-414e-a6a9-2dcc12029e4e] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [5e0eedc2-9a8f-4379-8a81-e43c1870701d] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [ffef5ad2-42da-40f9-a547-4958f7c89146] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [6dae9d2e-3be8-4789-a8db-b0315528e6e9] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [e550f5f9-f470-4f2b-b73b-d34dd0b5dffe] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [987c07a8-1f5c-4b56-9cdc-db6be1547089] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [a6d3ed46-27ae-47e8-bba8-4edab195dd16] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [edadee8a-ec1f-4dd3-8ed2-2bfb47afbc64] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [62a2f816-4b8a-4413-aab5-d9b9b1ea6447] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [00d04a64-9d3c-4ec3-a1ba-45119b09bbcd] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [74b9aec0-0d40-4a26-badb-bdd9c6217728] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [e6809307-d0fe-431e-9f73-7903a77d5c35] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [c62bda30-f7b2-4e0b-a55f-be6719522dc8] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [43b50275-c7ba-4071-a471-a34e87b8e80f] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [cf818818-ba7b-4925-93f1-eae165553147] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [a298bee3-7b25-491e-8665-2119ea4242f5] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [8bd061f8-a47c-4c61-bddc-10b2d55c5f0e] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [544a53fe-2165-45cf-bf5e-f964d7ae3c7b] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [7f96c536-aeba-4b61-9443-acaeda1166c0] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [1a0c0ec0-d609-4566-8811-7c83c91f415e] model deployment ID: []
Info: message 0 returned. finish reason: [stop]
Info: request done: requestId: [abd4d64f-b1b0-4270-aa36-dd090c5fe6ba] model deployment ID: []
Debug: [context keys] Window state change. Needs offline check: false, active: false, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13700H (20 x 2918)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.80GB (14.43GB free)
Process Argv --crash-reporter-id da508396-9217-4878-b996-a8072d9e9c96
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-24.04
OS Linux x64 6.13.8-WSL2-STABLE+
CPUs 13th Gen Intel(R) Core(TM) i7-13700H (20 x 0)
Memory (System) 19.06GB (10.40GB free)
VM 0%
Item Value
Remote WSL: Ubuntu-24.04
OS Linux x64 6.13.8-WSL2-STABLE+
CPUs 13th Gen Intel(R) Core(TM) i7-13700H (20 x 0)
Memory (System) 19.06GB (10.39GB free)
VM 0%

This is how it was for a long time:

Image

After a few minutes, the part of the response that wasnt loaded yet started to be displayed in the new repetitions. And Copilot keep repeating itself ! While I had Copilot tab open the Editor and my computer itself were laggy and hard to use. I'm not sure if it is important or not, but my GitHub Copilot version is 1.290.1455. Windows, VSCode and extensions, all up to date.

One of the problems of this behavior (beyond the bug itself) is that it may burn all my quota for Copilot =/

ericktreichel avatar Mar 23 '25 17:03 ericktreichel

I am facing the same issue, on GPT-4o as well as Claude 3.7 Sonnet,

FelixGrafschmidt avatar May 12 '25 12:05 FelixGrafschmidt

Confirming the same behavior. My setup:

Extensions:

  • github.copilot: 1.326.1596
  • github.copilot-chat: 0.28.2025053002

VS Code: 1.101.0-insider (Universal) (1b4b2f807c36c2347167790756941d3058a3e8ae) OS: Darwin arm64 24.5.0 Remote OS: Ubuntu 24.04.2 LTS LLM model: Qwen2.5-Coder-0.5B-Q8_0-GGUF

Log from GitHub Copilot Chat:

2025-06-01 21:41:34.491 [info] Fetched model metadata in 596ms fac903b4-93fb-4217-86fc-6b13ed3f807e
2025-06-01 21:41:38.264 [info] message 0 returned. finish reason: [stop]
2025-06-01 21:41:38.264 [info] request done: requestId: [f1b97661-e4c1-41df-9b1b-5caa6c01a421] model deployment ID: []

(I had to manually stop the chat session, hence the "finish reason: [stop]")

Thesephi avatar Jun 01 '25 22:06 Thesephi

I have been experiencing this for quite some time now. Usually it happens twice when it happens and is just annoying. Today it kept looping until I clicked the stop button. I use Gemini 2.5 Pro.

tforster avatar Jun 22 '25 21:06 tforster

same here

Image

scott-avery avatar Jul 26 '25 07:07 scott-avery

I'm getting this for Claude 4 and Gemini 2.5 Pro too. I'm guessing it's also eating my credits, so that's properly annoying.

AntonOfTheWoods avatar Sep 06 '25 07:09 AntonOfTheWoods

Is this still an issue on the newer release?

bhavyaus avatar Nov 06 '25 06:11 bhavyaus

@bhavyaus there have been several releases fixes for both the plugin and vscode. I hope the philosophy isn't just "let's just not do anything for 6 months and see whether people continue complaining". This issue was raised almost 8 months ago and it doesn't look like MS/GH has put even 10 minutes worth of resources on this... except to push back when someone might take a look at it.

That's pretty disappointing.

That said, I personally haven't had this in well over a month.

AntonOfTheWoods avatar Nov 07 '25 03:11 AntonOfTheWoods