Custom Agents are sorted by filename instead of display name
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 62/100
Hướng nghiên cứu
Tìm nơi các tệp agent tùy chỉnh .agent.md được phát hiện và sắp xếp cho trình chọn: tìm trong codebase glob *.agent.md và mọi .sort( trên danh sách đó. Khóa sắp xếp nên trở thành name của frontmatter, fallback sang tên suy ra từ tên tệp khi name không có, theo như issue chỉ định. Xong nghĩa là một danh sách agent được xây dựng từ các tên như 01-reviewer.agent.md/name: Zeta Reviewer sắp xếp 'Alpha Writer' trước 'Zeta Reviewer'; chạy các test hiện có phủ việc nạp agent hoặc thêm một test cho hàm so sánh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Short summary
Custom Agents are sorted by filename instead of display name
Affected version or release
Latest
Installation context
GitHub Copilot App on Windows 11
What happened?
Description
Custom Agents in the Copilot desktop app are sorted by their filename instead of the name defined in the Markdown front matter.
GitHub documents name as the agent's display name, with the filename only used as a fallback when name is omitted.
Expected
Agents should be sorted alphabetically by their displayed name.
Actual
Agents are sorted alphabetically by their filename.
Steps to reproduce
No response
Expected behavior
Description
Custom Agents in the GitHub Copilot desktop app appear to be sorted alphabetically by their file name, rather than by the display name defined in the Markdown frontmatter.
This makes the ordering in the agent picker unexpected when file names are intentionally different from their user-facing names.
Steps to reproduce
Create multiple custom agents whose file names and display names sort differently, for example:
01-reviewer.agent.md
---
name: Zeta Reviewer
description: Reviews code changes
---
02-writer.agent.md
---
name: Alpha Writer
description: Helps write code and documentation
---
Open the Custom Agent picker in the GitHub Copilot desktop app.
Actual behavior
The agents are ordered according to their file names:
- Zeta Reviewer
- Alpha Writer
Expected behavior
The agents should be sorted by their displayed names:
- Alpha Writer
- Zeta Reviewer
Since the name frontmatter property represents the user-facing display name, sorting by that value would make the list consistent with what users actually see.
If name is omitted, the filename-derived name could naturally be used as the fallback sorting value.
Additional context
GitHub's Custom Agents documentation describes name as the display name for the custom agent and states that the filename is used as the default display name only when name is not specified.
This issue concerns the ordering of agents in the UI, not agent resolution/deduplication, where the filename may still be an appropriate identifier.
Additional context
No response
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.2k
- Fork
- 176
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/app
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
AI Credit consumption for a session is not displayed anymore in the session title informationĐang mởtriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
NousResearch/hermes-agent#134960 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
点击设置提示`操作未能完成,详情请查看应用日志`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Y-ASLant/ElegantClipboard#166 ·
-
Lid close does not lock the session on Apple Silicon (lid-close bind skips omarchy-system-lid-close)Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
omacom/omarchy-mac#701 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature] Linux增加去掉标题栏的选项Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100