Skip to content

Commit 0a33122

Browse files
osortegaCopilot
andauthored
Fix for local chat sessions not showing in list (microsoft#273170)
* Fix for local chat sessions not showing in list * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 41d5f1c commit 0a33122

File tree

1 file changed

+1
-1
lines changed
  • src/vs/workbench/contrib/chat/browser/chatSessions

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatSessions/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function isChatSession(schemes: string[], editor?: EditorInput): boolean
3333
return false;
3434
}
3535

36-
if (!schemes.includes(editor.resource?.scheme)) {
36+
if (!schemes.includes(editor.resource?.scheme) && editor.resource?.scheme !== Schemas.vscodeChatSession && editor.resource?.scheme !== Schemas.vscodeChatEditor) {
3737
return false;
3838
}
3939

0 commit comments

Comments
 (0)