github / github/copilot-cli

Quickly switch between pre-set model configs

オープン
#4,190 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:configuration area:models
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue にはファイル、テスト、エントリーポイントが記載されていません。まず、既存の /model フローと、キーボードショートカットまたはカスタムコマンドの処理を特定します。提案されたアプローチを現在の CLI の動作と比較します。done では、あらかじめ設定されたモデル構成と effort 構成をすばやく切り替えられるようにする必要があります。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。