Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Custom agents intermittently unavailable in new sessions

Đang mở
#3,951 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, macos
Lĩnh vực
ai, desktop

Hướng nghiên cứu

Bắt đầu với luồng bắt đầu phiên của /chat và quá trình phát hiện custom-agent từ .github/agents, tái hiện kết quả Unknown agent_type xảy ra không liên tục giữa các phiên mới. So sánh các phiên thành công và thất bại, sau đó xác minh rằng quá trình phát hiện luôn hoàn tất trước khi công việc được chấp nhận, hoặc một lỗi rõ ràng cùng hành động khôi phục được hiển thị.

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

Mô tả

Title: Custom agents intermittently unavailable in new sessions — suspected startup race

Description:

Custom agents defined in my repository’s .github/agents/ directory intermittently fail to register when starting a session in the GitHub Copilot desktop app.

In affected sessions, dispatching a custom agent returns Unknown agent_type, even though its definition exists in the repository. Other sessions correctly expose all 28 custom agents. This appears to be a session initialization or agent-discovery problem; a startup race is suspected but not confirmed.

Steps to reproduce:

  1. Open a repository containing custom agents under .github/agents/.

  2. Start a new session in the Copilot app.

  3. Ask the agent to invoke one of those custom agents.

  4. Intermittently, dispatch rejects the custom agent with Unknown agent_type. Other sessions load the agents successfully.

Expected behavior:

Custom-agent discovery should complete before the session accepts work requiring those agents. If discovery fails, the app should show an explicit error and recovery action instead of allowing execution to continue with missing capabilities.

Actual behavior and impact:

Sessions can start without the repository’s custom agents being available. Automated work then fails or continues without the intended specialist agents. This makes workflows unreliable and forces me to check agent availability and restart sessions manually.

Environment:

  • GitHub Copilot desktop app on macOS

  • App version: 1.1.21

  • Repository opened in a local worktree

  • Intermittent; exact trigger and root cause unknown

Please investigate session-start ordering and custom-agent registration, and provide a clear indication when discovery has failed or is incomplete.


Field Value
App version 1.1.21
OS macOS 27.0.0
Theme GitHub
Path /chat
Tenure Week 18
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
157
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/app

Tất cả issue của github/app

Issue tương tự

Thêm issue về AI Infra & Agents

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.