Setting or memory for the default agent harness in the main window (Welcome page / chat panel always start on Copilot)
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.defaultToCopilotHarnessonly toggles between the local harness and the Copilot SDK agent host harness.chat.defaultModelpicks 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:
- A setting such as
chat.defaultHarnesswith values likecopilot,claude,codex, or - 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).
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.
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.