sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.78k stars 301 forks source link

bug: frustrating issue with Cody Chat where it suddenly disappears after streaming the chat response #5720

Open maxdata opened 1 month ago

maxdata commented 1 month ago

Type: Bug

Extension Information

Steps to Reproduce

1.I'm experiencing a frustrating issue with Cody Chat where it suddenly disappears after streaming the chat response. I've spent several hours trying to resolve this without success, and as a paid user, it's quite disappointing. Thank you for any assistance you can provide.

Expected Behaviour

Logs

Extension version: 1.34.3 VS Code version: Code 1.93.1 (Universal) (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Darwin arm64 24.0.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 2400)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|6, 8, 7| |Memory (System)|16.00GB (0.10GB free)| |Process Argv|--crash-reporter-id 5d904074-7752-4821-9f4d-cb20bf067089| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 01bff139:31013167 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 flighttreat:31134774 wkspc-onlycs-t:31132770 nativeloc1:31134641 wkspc-ranged-t:31125599 cf971741:31144450 defaultse:31146405 ei213698:31121563 iacca1:31144502 5fd0e150:31146321 ```
Kynlos commented 1 month ago

I've had this issue too, but struggling to reproduce to try find any errors or anything that could help the engineers. If it happens again, or you can reproduce, please can you provide more information such as any errors you might see in the Dev Tools (Help>Toggle Dev Tools).

Thanks!

theronburger commented 1 month ago

Is this a dupe of https://github.com/sourcegraph/cody/issues/5296 I provide possible reasons here. spoiler alert, cody spams state hard and crashes it Recover the chat by restarting and going to history. Come on SourceGraph, fix this, its a huge pain