github / github/app

[Bugs] Describe the bug

Đang mở
#1,573 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bugs
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Mood:** 😊
**Category:** Bugs

Describe the bug

When a new agent definition file is added to ~/.copilot/agents/ (the user-scoped agent directory), the GitHub Copilot App UI does not pick it up even after opening a new project session. A full app restart is required.

In contrast, the CLI (copilot command) correctly discovers the new agent immediately without needing a restart.

Steps to reproduce

Add a new .md agent file to ~/.copilot/agents/
Open a new project session in the App UI
Click "Default agent" dropdown — the new agent does not appear
Run copilot CLI in terminal and type /agent — the new agent appears correctly
Expected behavior

The App UI should discover user-scoped agents from ~/.copilot/agents/ when a new project session is opened, consistent with how the CLI behaves.

Actual behavior

The agent is not visible in the App UI until the entire app is quit and relaunched.

Environment

GitHub Copilot App version: 1.0.66
CLI version: 1.0.65
OS: macOS

---
| Field | Value |
| --- | --- |
| App version | 1.0.12 |
| OS | macOS 15.4.0 |
| Theme | Fox |
| Path | /chat |
| Tenure | Day 1 |

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với luồng phiên dự án mới của App UI và dropdown "Default agent", sau đó so sánh cách nó phát hiện các tệp trong ~/.copilot/agents/ với entry point /agent của CLI. Xác nhận rằng việc thêm một agent .md mới trước khi mở một phiên sẽ khiến agent đó xuất hiện mà không cần khởi động lại ứng dụng, phù hợp với hành vi của CLI.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.