Azure OpenAI GPT-6 Astra "Unknown parameter: reasoning"

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The bug is with API key for Azure OpenAI. If enter my GPT-6 Astra as the deployment, then requests fail with:
Provider returned error:
{
“error”: {
“message”: “Unknown parameter: ‘reasoning’.”,
“type”: “invalid_request_error”,
“param”: “reasoning”,
“code”: “unknown_parameter”
}
}

I tested the endpoint with curl and it works.

If I change the deployment in Cursor to point to GPT 5.6 sol then it works. It looks like there is a bug with Astra only.

Request ID: 9d2d2cac-ef67-4a85-a1ef-082765f1e14e

Steps to Reproduce

  1. Enter Azure Base URL, API key, and deployment name, where the deployment is GPT 6 Astra
  2. Turn on “Use Azure OpenAI”
  3. Send a request to the GPT 6 Astra model

Expected Behavior

It should return a regular response

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.27.6
VS Code Extension API: 1.128.0
Commit: f7119520544accb8dcf6d27119b9f1963d8ee5a0
Date: 2026-10-21T09:08:09.275Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.11.16
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin x64 25.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey @Bryant_Lee,

This comes from how Cursor sends GPT-6 Astra requests through Azure. Right now Cursor calls the deployment’s Chat Completions endpoint for that model and includes a reasoning setting that only Azure’s Responses API accepts, so Azure rejects it with “Unknown parameter: reasoning”. GPT 5.6 deployments are sent through the Responses API, which is why switching the deployment works, and your curl test works because it calls the endpoint directly.

This is a known issue the team is already tracking, and I’ve added your report to it.

@Colin thank you. We look forward to Astra support!