-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Closed
Labels
bugSomething isn't workingSomething isn't workingtool-callsIssues related to tool callingIssues related to tool calling
Description
Bug: web_search_request still triggers deprecation notice on latest alpha
Environment
- macOS (local dev machine)
codex-cli 0.66.0-alpha.7installed vianpm install -g @openai/codex@alpha~/.codex/config.tomlcontains:[features] web_search_request = true[tools] web_search_request = true- (no
web_searchentries)
codex features listshowsweb_search_request= true (stable)
Steps to Reproduce
npm install -g @openai/codex@alphacodex -V→codex-cli 0.66.0-alpha.7codex exec --color never "Say hi"
Expected
- No deprecation message, since
web_search_requestis enabled and the legacytools.web_searchtool should be suppressed.
Actual
- CLI prints:
deprecated: `tools.web_search` is deprecated. Use `web_search_request` instead. Enable it with `--enable web_search_request` or `[features].web_search_request` in config.toml. - Then the turn proceeds normally.
Notes
- Repro occurs even with
--disable warnings. - The warning also appears on
codex execruns that do not request search (e.g., simple “Say hi” prompt). - Appears to be an upstream toolset wiring issue: the session still receives
tools.web_searchdespite the flag.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtool-callsIssues related to tool callingIssues related to tool calling