Skip to content

fix: Update versions to support recent models#1

Merged
thdxr merged 1 commit intoanomalyco:mainfrom
aemr3:update-vscode-versions
Sep 24, 2025
Merged

fix: Update versions to support recent models#1
thdxr merged 1 commit intoanomalyco:mainfrom
aemr3:update-vscode-versions

Conversation

@aemr3
Copy link
Copy Markdown
Contributor

@aemr3 aemr3 commented Sep 24, 2025

This pull request updates the user agent and related version headers used in API requests to reflect the latest Copilot Chat and VS Code versions. These changes help ensure accurate client identification and compatibility with the Copilot API.

Version and header updates:

  • Updated the User-Agent, Editor-Version, and Editor-Plugin-Version headers in the main request header object to use Copilot Chat version 0.31.2 and VS Code version 1.104.1 (index.mjs).
  • Updated the User-Agent header in both the token fetch and refresh request headers to use Copilot Chat version 0.31.2 (index.mjs) [1] [2].

This PR enables gpt-5-codex support. Currently we are receiving this error:

AI_APICallError: model gpt-5-codex is not supported in this VS Code version. Please update it to version 1.104.1 or newer

@thdxr thdxr merged commit cf200b8 into anomalyco:main Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants