Skip to content

400 Unsupported parameter: 'messages'. error on OpenAI Compatible Azure deployment of GPT-5Β #6862

@jmmfcoutinho

Description

@jmmfcoutinho

App Version

3.25.10

API Provider

OpenAI Compatible

Model Used

gpt-5

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

VSCode on Windows with WSL.
gpt-5 (not chat) deployment on Azure.

BASE URL: https://.openai.azure.com/openai/responses?api-version=2025-04-01-preview
MODEL: gpt-5
USE AZURE: Yes
SET API VERSION: Yes --> 2025-04-01-preview
ENABLE REASONING EFFORT: Yes --> High
USE CUSTOM TEMPERATURE: Yes --> 1

I just sent a simple "hi" message and got this error:

400 Unsupported parameter: 'messages'. In the Responses API, this parameter has moved to 'input'. Try again with the new parameter. See the API documentation for more information: https://platform.openai.com/docs/api-reference/responses/create.

gpt-5 (non-chat), the one where you can set the reasoning effort and other parameters, uses the responses API. It seems that the request sent through Roo is using chat completions parameters (that's my guess, but I have no clue)

πŸ’₯ Outcome Summary

Expected API request to work, but got an error that implies wrong parameters are being sent to the responses API used by the GPT-5 (non-chat) model.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Issue [Needs Scoping]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions