Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What changes are you suggesting?
Describe the bug
The documentation for the gh models run
command uses an invalid model name (gpt-4.1
) in its example. When following the example, users receive the error:
Error: The specified model name is not found. Run 'gh models list' to see available models or 'gh models run' to select interactively.
Steps to reproduce
- Run the following command as shown in the docs:
gh models run gpt-4.1 "Why is the sky blue?"
- Observe the error message about the model name not being found.
Expected behavior
The documentation should use a valid model name, such as openai/gpt-4.1
, so that the example works as intended.
Screenshots
Additional context
- The CLI help and
gh models list
show thatopenai/gpt-4.1
is a valid model name. - Updating the docs will help users avoid confusion and errors.
Additional information
No response