Skip to content

Duplicate custom agents in /agent command selection menu #530

@aoken0714

Description

@aoken0714

Describe the bug

When using the /agent command in GitHub Copilot CLI, the same custom agent is displayed twice in the selection menu.

Affected version

0.0.354

Steps to reproduce the behavior

  1. Custom agents are defined only at the Repository-level.
  2. The custom agent file has been pushed to the remote repository.
  3. Using the /agent command.
  4. The same custom agent appears twice in the selection menu.

Expected behavior

The same custom agent should not be displayed twice.
(Sorry if duplicate displays were expected)

Additional context

No response

Metadata

Metadata

Assignees

Labels

2025 EOYbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions