Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

GitHub Copilot CLI in Model mode Auto returns error if you are using /btw or /ask command

Open
#4,887 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
shell
Domain
cli

Research direction

Reproduce the issue in GitHub Copilot CLI 1.0.86-2 by selecting Auto with /model, then running /btw or /ask with a prompt in PowerShell or WSL Linux. Compare this with an explicitly selected model; done means both commands work with Auto without the 400 unsupported-model error.

Written by the indexing model from the issue text.

Description

triage
Describe the bug

GitHub Copilot in Model mode Auto returns error if you are using /btw or /ask command using any particular model has no issues

Affected version

GitHub Copilot CLI 1.0.86-2

Steps to reproduce the behavior
  1. /model and chose select Auto
  2. /btw or /ask any prompt this is test
  3. error : host-rethrow: 400 The requested model is not supported.
    4 /model select any model
  4. /btw or /ask any prompt this is test
  5. It looks like your message came through as a test—no actual question was included. If you have something you'd like to ask or discuss,
    feel free to send it and I'll help out.
Expected behavior

expected behavior that it will work similar and use auto selected model for the /ask

Additional context

Tested on Windows Powershell and in wsl Linux

Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

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.

More from github/copilot-cli

All issues in github/copilot-cli

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.