Skip to content

Tool 'web_search_preview' is not supported with gpt-5.1-codex-max-2025-12-04. #10071

@gaoconggit

Description

@gaoconggit

What version of Codex is running?

0.92.0

What subscription do you have?

azure

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

linux

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

{
"error": {
"message": "Tool 'web_search_preview' is not supported with gpt-5.1-codex-max-2025-12-04.",
"type": "invalid_request_error",
"param": "tools",
"code": null
}
}

What steps can reproduce the bug?

[features]
web_search_request = false


It worked fine after downgrading to version 0.91.0.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIazureIssues related to the Azure-hosted OpenAI modelsbugSomething isn't workingtool-callsIssues related to tool calling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions