-
Notifications
You must be signed in to change notification settings - Fork 39k
moving new chat to editor fails with 'The editor could not be opened due to an unexpected error.' #275183
Copy link
Copy link
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Testing #274957
steps:
- switch to custom agent
- click to open chat in editor
- 🐛 the following error message appears
error logs:
2025-11-04 08:59:22.573 [trace] [Window] CommandService#executeCommand _setContext
2025-11-04 08:59:22.573 [trace] [Window] CommandService#executeCommand inlineChat.hideHint
2025-11-04 08:59:22.573 [debug] [Window] [EditorAction2] NOT running command because its precondition is FALSE inlineChat.hideHint inlineChatShowingHint
2025-11-04 08:59:22.575 [error] [Window] ChatSessionStore: Error reading chat session file 68c6a017-7f6a-4c2d-888e-15daa39e6bbb Unable to read file '/Users/eleanorboyd/Library/Application Support/Code - Insiders/User/workspaceStorage/62c4b5c5459db8940b2a3174af907105/chatSessions/68c6a017-7f6a-4c2d-888e-15daa39e6bbb.json' (Error: Unable to resolve nonexistent file '/Users/eleanorboyd/Library/Application Support/Code - Insiders/User/workspaceStorage/62c4b5c5459db8940b2a3174af907105/chatSessions/68c6a017-7f6a-4c2d-888e-15daa39e6bbb.json')
2025-11-04 08:59:22.575 [error] [Window] Error: Failed to get model for chat editor. resource: vscode-chat-session://local/NjhjNmEwMTctN2Y2YS00YzJkLTg4OGUtMTVkYWEzOWU2YmJi
at KIe.setInput (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2214:9184)
at async nJe.S (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:58520)
at async nJe.L (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:57080)
at async nJe.openEditor (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:56162)
at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:809:23355
at async m1i (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2214:12059)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug