github / github/copilot-cli

Add multiple BYOK model capability in copilot cli

Đang mở
#3,282 9 bình luận 54 reaction 0 người được giao Xem trên GitHub
area:configuration area:models
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the feature or problem you'd like to solve

Currently copilot CLI supports a single BYOK model with env var. I want to enable multiple models through it which is difficult. Inside copilot TUI, I can NOT switch to another BYOK model, I have to terminate the session and set the new env vars and then reopen copilot CLI again.

### Proposed solution

Provide a json in copilot directory which copilot cli will read and use to list all the models inside.

### Example prompts or workflows

I could then do this

copilot --model

instead of resetting the env variables

### Additional context

_No response_

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

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

Đánh giá

Issue này chưa được đánh giá.

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.