Skip to content

Chat: Use the local harness by default in Remote Repositories workspaces #326464

Description

@roblourens

Problem

When a repository is opened through the Remote Repositories extension (vscode-vfs), the Agent Host harness cannot operate against the virtual workspace. Editor chat harness settings can nevertheless hide the Local harness or make Agent Host Copilot the default, leaving the workspace on a harness that does not work for this scenario.

Expected behavior

  • The Local harness remains available in Remote Repositories and other fully virtual workspaces, regardless of chat.editor.localAgent.enabled.
  • New chats default to the Local harness in a fully virtual workspace, even when Agent Host is enabled and chat.defaultToCopilotHarness is enabled.
  • Non-virtual editor windows continue honoring the existing Agent Host and default-harness settings.

Reproduction

  1. Enable Agent Host and configure Agent Host Copilot as the default editor chat harness.
  2. Open a repository with the Remote Repositories extension.
  3. Start a new chat session.

The Agent Host harness is selected even though Local is the harness that works with the virtual workspace.

Related changes

  • #325835 keeps Local available in virtual workspaces.
  • #326458 makes Local the default in virtual workspaces.

(Written by Copilot)

Metadata

Metadata

Assignees

Labels

agent-hostIssues for the agent-host implementation (not the protocol)bugIssue identified by VS Code Team member as probable bugverification-foundIssue verification failed

Type

No type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions