Skip to content

The “web search enabled by default” change causes codex cli 0.92.0 to almost always fail with most prompts azure openai gpt-5.1-codex-max model #10257

@mike-wilkinson-hitrust

Description

@mike-wilkinson-hitrust

What version of Codex is running?

0.92.0

What subscription do you have?

Azure OpenAI for HITRUST Corporate subscription

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

MacOS

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

zsh

What issue are you seeing?

https://chatgpt.com/c/697d116c-33e8-832a-9ba2-a062ef603a39

why am i seeing this happen? this is happening in a new codex terminal which was just upgraded to the latest version of the client: Mike.Wilkinson@Mikes-MacBook-Pro authoritative-source-service % codex --yolo -m gpt-5.1-codex-max ╭──────────────────────────────────────────────────────╮ │ >_ OpenAI Codex (v0.92.0) │ │ │ │ model: gpt-5.1-codex-max high /model to change │ │ directory: ~/work/authoritative-source-service │ ╰──────────────────────────────────────────────────────╯ Tip: Use /status to see the current model, approvals, and token usage. /status ╭───────────────────────────────────────────────────────────────────────────────────╮ │ >_ OpenAI Codex (v0.92.0) │ │ │ │ Visit https://chatgpt.com/codex/settings/usage for up-to-date │ │ information on rate limits and credits │ │ │ │ Model: gpt-5.1-codex-max (reasoning high, summaries auto) │ │ Model provider: Azure - https://adm-m-m86fhqoj-eastus2.openai.azure.com/openai │ │ Directory: ~/work/authoritative-source-service │ │ Approval: never │ │ Sandbox: danger-full-access │ │ Agents.md: │ │ Account: mike.wilkinson@hitrustalliance.net (Team) │ │ Session: 019c108a-e409-7232-8566-85a6a011338b │ │ │ │ 5h limit: [████████████████████] 100% left (resets 20:14) │ │ Weekly limit: [████████████████████] 100% left (resets 15:14 on 6 Feb) │ ╰───────────────────────────────────────────────────────────────────────────────────╯ › codex are you there ■ { "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?

Uploaded thread: 019c108a-e409-7232-8566-85a6a011338b

What is the expected behavior?

continue working with conversational prompts just like 0.91.0 does

Additional information

if OpenAI wants a contractor who does daily development with codex to report issues as a paid side gig, let me know and I will see if I am allowed I think that would be a cool side gig

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
    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