github / github/copilot-cli

/model is not appear in cli v1.0.81

Open
#4,651 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
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.

Image
Affected version

No response

Steps to reproduce the behavior
  1. enabel venv

  2. 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"

  3. call /model

Expected behavior

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.