github / github/app

Support runtime provider, model, and command registration from extensions

Đang mở
#3,056 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
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ả

## Summary

A user reported that extensions can register providers, models, and commands in the live session registry, but the Copilot app does not fully consume those updates.

## Reported behavior

An extension can:

- Register a provider and model through `session.rpc.provider.add`
- Register slash commands
- Emit `commands.changed`

This works in Copilot CLI. In the app:

1. The model picker does not refresh after registration.
2. If the model later appears, selecting it can fail because the app treats it as a persisted provider.
3. Extension commands do not appear after `commands.changed`.

## Expected behavior

The app should consume the live session registry, refresh models and commands after registration, and select extension models by their provider-qualified ID.

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

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

Hướng nghiên cứu

Start by tracing how the app consumes the live session registry after session.rpc.provider.add and commands.changed. Follow the model picker and extension-command refresh paths, then verify that newly registered models and commands appear and that model selection uses the provider-qualified ID.

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
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/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.