Repository: vscode
Issue: Blank chat editor after window reload
Labels: bug


Type: <b>Bug</b>

I moved the chat session into the editor area, but after window reloads, the editor is often blank, also none of the participants are highlighed

```
  ERR No default agent registered: CodeExpectedError: No default agent registered
    at fze.R (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1939:25085)
```

![Image](https://github.com/user-attachments/assets/b0913654-4108-42f5-82bb-219ab8d157cb)


VS Code version: Code - Insiders 1.95.0-insider (Universal) (74c8f936949bef8404989432129e720494a4489c, 2024-10-11T05:04:04.463Z)
OS version: Darwin arm64 23.6.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M3 Max (14 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|2, 3, 4|
|Memory (System)|36.00GB (0.98GB free)|
|Process Argv|--enable-proposed-api rebornix.anyllm --enable-proposed-api rebornix.lulu --crash-reporter-id 1ce5da70-91d5-46fb-a706-70ff08933f9c|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (31)</summary>

Extension|Author (truncated)|Version
---|---|---
esbuild-problem-matchers|con|0.0.3
vscode-eslint|dba|3.0.13
kusto|don|0.4.4
gitlens|eam|2024.10.1105
EditorConfig|Edi|0.16.4
prettier-vscode|esb|11.0.0
copilot|Git|1.238.0
copilot-chat|Git|0.22.2024100901
vscode-mocha-test-adapter|hbe|2.14.1
vscode-test-explorer|hbe|2.22.1
vscode-pr-pinger|jri|0.0.6
debugpy|ms-|2024.10.0
python|ms-|2024.17.2024101101
vscode-pylance|ms-|2024.10.1
datawrangler|ms-|1.11.0
jupyter|ms-|2024.10.2024101001
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.19
vscode-jupyter-cell-tags|ms-|0.1.9
vscode-jupyter-slideshow|ms-|0.1.6
remote-containers|ms-|0.389.0
remote-ssh|ms-|0.116.2024100715
remote-ssh-edit|ms-|0.87.0
extension-test-runner|ms-|0.0.12
remote-explorer|ms-|0.4.3
test-adapter-converter|ms-|0.2.0
vscode-github-issue-notebooks|ms-|0.0.130
vscode-js-profile-flame|ms-|1.0.9
vscode-speech|ms-|0.10.0
excalidraw-editor|pom|3.7.4
vitale-vscode|und|0.0.17

(2 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
vsaa593:30376534
py29gd2263:31024238
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
pythongtdpath:30726887
pythonnoceb:30776497
asynctok:30898717
dsvsc014:30777825
dsvsc015:30821418
pythonmypyd1:30859725
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30870582
cppperfnew:30980852
pythonait:30973460
g316j359:31013175
a69g1124:31018687
dvdeprecation:31040973
dwnewjupyter:31046869
impr_priority:31057980
nativerepl1:31134653
refactort:31084545
pythonrstrctxt:31093868
wkspc-onlycs-t:31132770
nativeloc1:31118317
wkspc-ranged-t:31151552
cf971741:31144450
e80f6927:31120813
defaultse:31146405
i21gd607:31141543
iacca1:31150324
notype1:31143044
showbadge:31139796
f8igb616:31140137
g7688163:31155431

```

</details>

<!-- generated by issue reporter -->