-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Open
Labels
azureIssues related to the Azure-hosted OpenAI modelsIssues related to the Azure-hosted OpenAI modelsbugSomething isn't workingSomething isn't workingextensionIssues related to the VS Code extensionIssues related to the VS Code extension
Description
What version of the VS Code extension are you using?
0.4.40
What subscription do you have?
Azure OpenAI in Azure AI Foundry Models
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
When using Codex with model_provider = "azure", Codex appears to rewrite my configured model = "gpt-5-codex" after the gpt-5.1-codex release. As a result, calls to Azure OpenAI start failing with DeploymentNotFound, even though the deployment exists and was previously working.
What steps can reproduce the bug?
- In Azure AI Foundry / Azure OpenAI, deploy gpt-5-codex.
- Configure Codex as shown above with model = "gpt-5-codex" and model_provider = "azure" and the rest of configuration following https://learn.microsoft.com/en-us/azure/ai-foundry/openai/how-to/codex?tabs=npm
- Use Codex in VS Code
- Observe that Codex fails with a 404 coming from Azure:
unexpected status 404 Not Found: {"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again."}}
What is the expected behavior?
No response
Additional information
No response
TreeOfLearning, amardhammur, homiedopie and ilmarioranen
Metadata
Metadata
Assignees
Labels
azureIssues related to the Azure-hosted OpenAI modelsIssues related to the Azure-hosted OpenAI modelsbugSomething isn't workingSomething isn't workingextensionIssues related to the VS Code extensionIssues related to the VS Code extension