Skip to content

Comments

Fix claude agents not showing up in local chat dropdown#296647

Merged
pwang347 merged 1 commit intomainfrom
pawang/fixClaudeAgents
Feb 21, 2026
Merged

Fix claude agents not showing up in local chat dropdown#296647
pwang347 merged 1 commit intomainfrom
pawang/fixClaudeAgents

Conversation

@pwang347
Copy link
Member

@pwang347 pwang347 commented Feb 20, 2026

Fixes #296610

Copilot AI review requested due to automatic review settings February 20, 2026 22:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where custom agents with Target.Claude were not appearing in the local chat mode picker dropdown. The fix removes unnecessary target filtering from the regular local chat mode picker, allowing all custom agents to be displayed regardless of their target value.

Changes:

  • Removed the modeSupportsVSCode filter function that was restricting agents to only those with Target.VSCode or Target.Undefined
  • Updated both builtin and custom mode actions in actionProvider to display all agents without target-based filtering

@pwang347 pwang347 marked this pull request as ready for review February 20, 2026 22:58
@pwang347 pwang347 enabled auto-merge (squash) February 20, 2026 23:00
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 20, 2026
@pwang347 pwang347 merged commit bf1992d into main Feb 21, 2026
23 checks passed
@pwang347 pwang347 deleted the pawang/fixClaudeAgents branch February 21, 2026 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Claude-created agent does not appear in agent dropdown

2 participants