GPT-4.1 is not available anymore#1952
Open
agoncal wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Getting started documentation to use a model identifier that is available in the Copilot CLI, preventing the sample code from failing during session.create.
Changes:
- Replaced
model: "gpt-4.1"withmodel: "gpt-5.4"across all language snippets in the getting-started guide.
Show a summary per file
| File | Description |
|---|---|
| docs/getting-started.md | Updates all quickstart code samples to use gpt-5.4 instead of gpt-4.1 to avoid a runtime “model not available” error. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Low
Comment on lines
152
to
154
| const client = new CopilotClient(); | ||
| const session = await client.createSession({ model: "gpt-4.1" }); | ||
| const session = await client.createSession({ model: "gpt-5.4" }); | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gpt-4.1 is not available in the CLI anymore. So when running the getting started sample I get:
I changed it to gpt-5.4