Skip to content

Stop Generation Button doesn't always stop the generation #253353

Open
@KnextKoder

Description

@KnextKoder

Type: Bug

Sometimes when I go to stop the AI generation or its current action by clicking the stop button, it doesn't always work, Then I'd have to wait for the full generation and undo the changes. The main issue is that many times the model has identified the problem and is taking the right actions, but when it derails itself, I want to stop it before it goes too deep onto the wrong path, but SOMETIMES THE STOP GENERATION BUTTON DOESN"T WORK :)

Extension version: 0.29.2025070102
VS Code version: Code - Insiders 1.102.0-insider (6ccdb0f, 2025-06-30T05:03:46.894Z)
OS version: Windows_NT x64 10.0.26100
Modes:

Logs
Trace: choice {"delta":{"content":" updates the URL without triggering","role":"assistant"}}
Trace: choice {"delta":{"content":" navigation\n- `","role":"assistant"}}
Trace: choice {"delta":{"content":"{ scroll: false }`","role":"assistant"}}
Trace: choice {"delta":{"content":" explicitly prevents any","role":"assistant"}}
Trace: choice {"delta":{"content":" scroll behavior","role":"assistant"}}
Trace: choice {"delta":{"content":"\n- This maintains","role":"assistant"}}
Trace: choice {"delta":{"content":" the URL synchron","role":"assistant"}}
Trace: choice {"delta":{"content":"ization for pagination state","role":"assistant"}}
Trace: choice {"delta":{"content":" while preserving the user's scroll","role":"assistant"}}
Trace: choice {"delta":{"content":" position\n\n**Code","role":"assistant"}}
Trace: choice {"delta":{"content":" Change:**\n```tsx","role":"assistant"}}
Trace: choice {"delta":{"content":"\n// Before (","role":"assistant"}}
Trace: choice {"delta":{"content":"caused scroll","role":"assistant"}}
Trace: choice {"delta":{"content":" to top)\nrouter","role":"assistant"}}
Trace: choice {"delta":{"content":".push(`?","role":"assistant"}}
Trace: choice {"delta":{"content":"${params.toString()}`","role":"assistant"}}
Trace: choice {"delta":{"content":");\n\n// After (","role":"assistant"}}
Trace: choice {"delta":{"content":"maintains scroll position)\nrouter","role":"assistant"}}
Trace: choice {"delta":{"content":".replace(`","role":"assistant"}}
Trace: choice {"delta":{"content":"?${params.toString","role":"assistant"}}
Trace: choice {"delta":{"content":"()}`, { scroll: false","role":"assistant"}}
Trace: choice {"delta":{"content":" });\n```\n\nNow","role":"assistant"}}
Trace: choice {"delta":{"content":" when users click","role":"assistant"}}
Trace: choice {"delta":{"content":" the pagination controls (","role":"assistant"}}
Trace: choice {"delta":{"content":"left/right arrows or","role":"assistant"}}
Trace: choice {"delta":{"content":" change the items per page dropdown","role":"assistant"}}
Trace: choice {"delta":{"content":"), the table will update","role":"assistant"}}
Trace: choice {"delta":{"content":" without scrolling the","role":"assistant"}}
Trace: choice {"delta":{"content":" page back to the top","role":"assistant"}}
Trace: choice {"delta":{"content":", providing a much better user experience","role":"assistant"}}
Trace: choice {"delta":{"content":".","role":"assistant"}}
Trace: choice {"finish_reason":"stop","delta":{"content":null}}
Info: message 0 returned. finish reason: [stop]
Debug: message 0 details: finishOffset: [undefined] completionId: [{msg_vrtx_01R2J1y76tHQLwowBgaHX7Te}] created: [{1751384682}]
Info: request done: requestId: [a2a47496-ed4a-4e23-9678-b77efab3a3d7] model deployment ID: []
Info: ccreq:e8b08972.copilotmd | success | claude-sonnet-4 | 8563ms | [panel/editAgent]
Trace: [NES][Triggerer][onDidChangeTextDocument] created
Trace: [NES][Triggerer][onDidChangeTextDocument] Return: ignored document
Trace: [NES][Triggerer][onDidChangeTextDocument] created
Trace: [NES][Triggerer][onDidChangeTextDocument] Return: ignored document
Trace: [NES][Triggerer][onDidChangeTextDocument] created
Trace: [NES][Triggerer][onDidChangeTextDocument] Return: ignored document
Trace: [NES][Triggerer][onDidChangeTextDocument] created
Trace: [NES][Triggerer][onDidChangeTextDocument] Return: ignored document
Trace: [NES][Triggerer][onDidChangeTextDocument] created
Trace: [NES][Triggerer][onDidChangeTextDocument] Return: ignored document
Trace: [NES][Triggerer][onDidChangeTextDocument] created
Trace: [NES][Triggerer][onDidChangeTextDocument] Return: ignored document
Trace: [NES][Triggerer][onDidChangeTextDocument] created
Trace: [NES][Triggerer][onDidChangeTextDocument] Return: ignored document
Request IDs
3acdf19c-116b-479c-9776-b014f791054c
fe1b66e7-37dc-4615-be1d-29313d3db7cd
ca737f6c-9c00-4818-967a-e3fb0809228c
d9b69d46-3151-4df4-9edb-e6391cbcb390
91b230ca-99f5-463c-84bd-ce53fe491945
a5c2bc8e-fa40-4677-8e8a-5d91534b58e9
5b1f1f2d-c37a-4e76-821c-8a47f194828c
a0cc3d42-a581-488d-9f09-f7c96c3be76c
34db2ae4-4939-4a99-bd55-1ad3536b1401
30e9eeae-591e-40b2-ad90-13db1926d6bc
3b3205b0-2f17-49a5-be2f-1d5343ff4d84
4c317add-a5df-4fe3-9bb4-e87cedc1c0bb
13df9612-8134-408b-8dc5-4ba9e1f951da
415acc88-0667-45a3-9cb4-62cc34219294
9d63fbd8-7513-4df9-aaed-9c050f71da82
1b1fca10-d295-461c-b15e-fc75dc71627a
de81039f-7a07-4365-99c4-cadab15d0105
29e309eb-649c-4ada-b1db-e3b99053a1f2
41d0dad4-c45b-40e1-a2cb-90c169e0c654
8908455b-8639-4fe8-a64a-a47fc94b510d
024a86a6-d917-4bf5-98a2-7932b2bc1054
36bd2ce3-3d99-49c7-89bd-766c037bf15e
ec867e48-9705-4582-82c2-5a5d33e1b452
59377c93-3be8-45a2-84ad-d0c5028de5bf
977ea780-9807-44f8-861b-75cbb23586ff
53260f60-4d88-45c8-be51-509e6640c58e
ed2011c7-654c-4675-95c3-299317f474eb
526543f1-8d56-4d53-859c-84f1ed9f59cb
5ac20a85-c42e-4962-864e-15d228c2c36c
b2dfb8dc-ba43-4243-9735-2f0c60644b70
aff0e314-1271-4edb-8082-3eedeefa21df
949ac896-92fd-47a4-8050-fe9ae5c6524e
131da5e3-ffd0-4229-bdee-c465bf8ee2d3
6d1c83e3-ad60-4211-9f9d-279b7506ebb6
c2b1e0e0-69d9-434a-8e33-b1b9ddf4d534
968d9c03-48a8-46cc-85de-94d38dea8986
93cd6a7f-974f-4746-8066-e603a48a19db
b00a2202-ba87-4ba2-bbf0-74c7be368cb2
99f745a5-f366-4d76-bcee-759a17d2bfa5
69115d94-3202-4870-ba49-5120ec46cab8
0453a7df-4d82-4765-a2c4-8f42683a00f0
79de7b74-a8e0-4a51-98da-890aa502dab5
79239877-decb-48d0-ad45-060d2ae42e43
a87c9f04-1f8b-4524-bcd9-8813f97ddbc6
e016c376-1bf2-4c3e-94a6-069c9ce6da33
c1263c26-4fcc-4ee6-9105-8ea896ffceae
c40954d8-17d9-45c2-9a16-3fb43090569d
9ccda125-b928-4004-9897-03081e1db436
a2a47496-ed4a-4e23-9678-b77efab3a3d7
System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
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) 7.88GB (0.88GB free)
Process Argv --crash-reporter-id 03cfe0fa-1df3-4902-897e-3361fde887ca
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249597
vscod805:30301674
c4g48928:30535728
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
dwnewjupytercf:31046870
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
c3hdf307:31184662
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31333650
g012b348:31231168
pythoneinst12:31251391
bgtreat:31252123
c7cif404:31309980
pythonpulldiag:31287486
6gi0g917:31259950
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
jdghv92:31317040
747dc170:31275146
pythoncompactctx:31296835
6518g693:31302842
generatesymbolt:31280541
convertfstringf:31280702
j97ad248:31306657
usemarketplace:31336439
0g1h6703:31329154
nes-emitfast-1:31333560
55d1c281:31333312
66g5g415:31338411
nes-yield-on:31337332
63221493:31336333
0c165792:31336556
a1jaf592:31336599
hi92a955:31337023
nes-conv-11:31337514

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions