Add multiple BYOK model capability in copilot cli
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
### 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_
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100