Skip to content

codex search issue #4881

@KushAtom23

Description

@KushAtom23

What version of Codex is running?

codex-cli 0.44.0

Which model were you using?

gpt-5 (reasoning high, summaries auto) and gpt-5-codex (reasoning high, summaries auto)

What platform is your computer?

Windows, but i am utilsing codex in wsl.Duplicate of #

What steps can reproduce the bug?

■ unexpected status 400 Bad Request: {
"error": {
"message": "Hosted tool 'web_search_preview' is not supported with gpt-5-2025-08-07.",
"type": "invalid_request_error",
"param": "tools",
"code": null
}
}

I’m using Codex with Azure OpenAI following the official documentation. When I attempt to use web search functionality with the codex --search command, I encounter a fatal error on both model versions.

Could someone please help clarify what might be causing this issue?

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    azureIssues related to the Azure-hosted OpenAI modelsbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions