vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Setting or memory for the default agent harness in the main window (Welcome page / chat panel always start on Copilot)

Open romanrokon opened this issue 2 months ago • 2 comments

Feature request

Let users choose which agent harness new chats start with in the main window (Welcome page chat input, chat panel, chat editor).

Current behaviour (1.139.0, also checked main)

  • New chats on the Welcome page and in the chat panel always start on the local Copilot harness. Switching to Claude through the Local picker does not persist: a new window or restart starts on Copilot again.
  • chat.defaultToCopilotHarness only toggles between the local harness and the Copilot SDK agent host harness.
  • chat.defaultModel picks a model, not a harness.
  • The Agents window already remembers the last harness used for quick chats (sessions.quickChat.lastUsedSessionType), but the main window has no equivalent.

Use case

I use the Claude harness with native Anthropic auth (Claude subscription via CLAUDE_CODE_OAUTH_TOKEN). My Copilot plan has no Claude models, so every new chat in the main window opens on a harness I don't use.

Request

Either of:

  1. A setting such as chat.defaultHarness with values like copilot, claude, codex, or
  2. Remember the last used harness in the main window, the way the Agents window does for quick chats.

Related: #337653 (model picker shows the wrong model after restart in Claude sessions).

romanrokon avatar Sep 24 '26 09:09 romanrokon

Please let users choose or remember the Session Target for new chats. If I select Local, keep it selected for future chats and after restarting VS Code instead of switching back to Copilot. I want Copilot removed as an option, or at minimum give users a setting to hide it from the Session Target picker. Repeatedly switching away from a harness I don't use makes the default feel imposed rather than user-controlled.

aseiger avatar Oct 06 '26 21:10 aseiger

This would be very helpful for enterprise deployments of VS Code. It costs money to train employees to open the dropdown and switch to Codex harness, if the default is not configurable with a policy. IT also gets messaged on why the chat feature didn't work.

lm902 avatar Nov 17 '26 16:11 lm902