Codex 0.92.0: web_search tool defined even when web search is disabled.
What version of Codex is running?
codex-cli 0.92.0
What subscription do you have?
n/a
Which model were you using?
n/a
What platform is your computer?
MacOS
What terminal emulator and version are you using (if applicable)?
codex-cli 0.92.0
What issue are you seeing?
When running with web search disabled:
(codex --disable web_search_request --disable web_search_cached --disable web_search ...)
web_search is still set as a tool.
POST /v1/responses
...
["tools":
...
{"type":"function","name":"apply_patch",...},
{"type":"web_search","external_web_access":false},
{"type":"function","name":"view_image",...},
...]
This did not occur with 0.91.0 or 0.92.0-alpha9. Occurs with 0.92.0-alpha10 and 0.92.0.
Is this intended behavior?
Perhaps related changes:
PR#9249
#10097
What steps can reproduce the bug?
codex --disable web_search_request --disable web_search_cached --disable web_search ...
What is the expected behavior?
no web_search tool when web search disabled.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗