1.0.82 Regression: Unknown command: /model with BYOK
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
Describe the bug
As of 1.0.81/82 the /model command apparently does nto work anymore if the model is set via environment variables for BYOK (see https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models)
On e.g. Azure AI Foundry multiple models can be hosted and I used the /model command to switch between models (like gpt-5.6-luna/terra/sol) based on requirements, this does not work anymore.
Affected version
1.0.81 and 1.0.82, it works with 1.0.80 on windows x64, verified this by manually downgrading the cli version.
Steps to reproduce the behavior
- setup azure ai foundry, deploy a few gpt-5.6 models
- run github copilot cli like this:
SET COPILOT_PROVIDER_BASE_URL=https://my-azure-ai-foundry.com/openai/v1
SET COPILOT_PROVIDER_API_KEY=key
SET COPILOT_PROVIDER_TYPE=azure
SET COPILOT_PROVIDER_WIRE_API=responses
SET COPILOT_MODEL=gpt-5.6-luna
copilot --reasoning-effort max
Expected behavior
I can select the model after starting copilot with BYOK settings.
Additional context
No response
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il malfunzionamento con le variabili d’ambiente COPILOT_PROVIDER_* e COPILOT_MODEL documentate, quindi confronta il comportamento di /model nelle versioni 1.0.80 e 1.0.81/82. Verifica che sia possibile selezionare un modello dopo aver avviato copilot con le impostazioni BYOK di Azure AI Foundry, inclusa la responses wire API.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100