Add multiple BYOK model capability in copilot cli
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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_
貢獻指南
研究方向
Start by tracing how the Copilot CLI currently reads the single BYOK model from environment variables and how model selection works in the TUI. Define how the proposed JSON configuration and `--model` option should expose multiple models, with completion meaning users can switch models without terminating and reopening the CLI.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100