-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Closed as duplicate of#250382
Closed as duplicate of#250382
Copy link
Description
Extracted from https://github.com/microsoft/vscode-copilot/issues/17950
Steps to Reproduce:
- you can test this running out of sources, use a fresh user data dir
- type "hi" into chat and run through setup
- uninstall copilot extension and click to restart extension host
- type "hi" again, extension installs again automatically (ignore the warning output in chat)
- uninstall copilot extension and click to restart extension host
🐛 things fall apart: the "+" icon shows disabled

You cannot input to chat anymore, there are many errors:
ERR Cannot read properties of undefined (reading 'id'): TypeError: Cannot read properties of undefined (reading 'id')
at agentAndCommandToKey (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js:34:62)
at UniqueContainer.value (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js:58:43)
at Emitter._deliver (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/base/common/event.js:948:22)
at Emitter._deliverQueue (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/base/common/event.js:959:18)
at Emitter.fire (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/base/common/event.js:982:18)
at ChatWidget._acceptInput (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/workbench/contrib/chat/browser/chatWidget.js:1083:40)