/model is not appear in cli v1.0.81
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
Describe the bug
After I update VScode to v1.135.0, I don't see /model anymore in copilot cli in BYOK mode.
What I did:
set environment value:
$env:COPILOT_PROVIDER_BASE_URL = "https:///v1"
$env:COPILOT_MODEL = "glm-5.3"
$env:COPILOT_EFFORTLEVEL = "high"
$env:COPILOT_PROVIDER_API_KEY = "sk-j"
$env:COPILOT_PROVIDER_MAX_PROMPT_TOKENS = "960000"
$env:COPILOT_PROVIDER_MAX_OUTPUT_TOKENS = "32000"
copilot
When I want to change to the other model in same provider, the /model is not appear any more.
Affected version
No response
Steps to reproduce the behavior
-
enabel venv
-
set env value
$env:COPILOT_PROVIDER_BASE_URL = "https:///v1"
$env:COPILOT_MODEL = "glm-5.3"
$env:COPILOT_EFFORTLEVEL = "high"
$env:COPILOT_PROVIDER_API_KEY = "sk-j"
$env:COPILOT_PROVIDER_MAX_PROMPT_TOKENS = "960000"
$env:COPILOT_PROVIDER_MAX_OUTPUT_TOKENS = "32000" -
call /model
Expected behavior
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Copilot CLI v1.0.81 with the listed PowerShell environment variables and the /model command. Start by tracing the CLI's BYOK model-selection or model-discovery entry point; done means /model is available and allows switching between models from the same provider.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell, vscode
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100