github / github/copilot-cli

Quickly switch between pre-set model configs

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

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

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

Enable rapid model/effort switching for better efficiency

Proposed solution

As developer I want in many cases to use the strongest model with highest effort level available. However, typing /model, choosing the model with arrows, then choosing the effort level with right left is cumbersome and might cause be to avoid it and therefore not use the right model for the task.

My proposal is to enable mapping keyboard shortcuts to pre-set models and effort so I can quickly switch between them based on the task.
I assume there are other use cases for custom keyboard mapping.

Alternatively, add option to create custom commands, like for example "/cheap" will switch to a pre-set model I choose with pre-set effort level.
Using an approach like "/agent cheap" can work but it changes tools/behavior and not generic enough.

Another option is to create another command (e.g. "/pmodel") which shows a list of 5 pre-set model configurations I can quickly choose by number.

Example prompts or workflows

No response

Additional context

No response

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.

Hướng nghiên cứu

Issue không nêu tên tệp, test hoặc entry point nào. Hãy bắt đầu bằng cách xác định flow /model hiện có và mọi phần xử lý phím tắt bàn phím hoặc lệnh tùy chỉnh. So sánh các cách tiếp cận được đề xuất với hành vi CLI hiện tại; done nên cung cấp một cách nhanh chóng để chuyển đổi giữa các cấu hình model và effort được thiết lập sẵn.

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

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/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.