Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.924.22138
What subscription do you have?
custom
What platform is your computer?
Darwin 25.6.0 arm64 arm
What issue are you seeing?
After switching models in the middle of an existing session, the browser-use tooling stops being callable. Every call to the tools that drive the built-in browser is rejected by the harness before reaching any service.
Expected
Switching models should not change which tools are available. Browser-use (and the JS REPL tools it depends on) should remain callable after the switch.
Actual
All calls to those tools fail immediately with a harness-level error of the form:
unsupported call: <tool-name>
The request never reaches any backend, so there is nothing to retry or approve — the tool call is rejected locally at dispatch time.
Steps to reproduce
- Start a session and confirm the browser-use tools are available and callable.
- Switch the model mid-session.
- Call a browser-use tool (e.g. open the built-in browser).
Observed behavior
- The call is rejected with
unsupported call: <tool-name>. - The rejection is reported by the harness, not by any approval flow, and not because the browser was already in use.
- Repeating the call produces the same rejection consistently.
Evidence
- Tool names that were rejected this way include the browser automation entry point, the underlying JS REPL tool, a tool-discovery call, and other plugin-provided tools. All returned
unsupported call: <tool-name>. - Tool listing still works and returns a non-empty result, so the underlying plumbing is functional — it is the tool registry for the turn that is incomplete.
- Configuration is not the cause: the relevant plugins and the REPL server are enabled in config.
- The machine is not the cause: the REPL helper processes are running (more than ten instances observed).
- Only a fixed core set of tools remains registered for the turn, while plugin-provided tools are missing.
Conclusion / hypothesis
The session appears to rebuild its tool registry when the model is switched mid-session, and that rebuild drops plugin-provided tools. The result is that browser use is unavailable for the remainder of the session, even though the plugins are enabled and their local services are running.
Impact
Browser-based debugging and UI verification cannot be performed in any session that has switched models, which blocks an entire class of tasks.
Requested fix
Preserve plugin-provided tools across a mid-session model switch, or re-register them immediately after the switch so browser use stays available.
What steps can reproduce the bug?
Steps to reproduce
- Open Codex Desktop on macOS and start a new session (no model switch yet).
- Confirm browser use works in that session — for example, ask the agent to open a page in the built-in browser. The call should succeed.
- Switch to a different model in the same session (mid-session model switch, no new session).
- Ask the agent to open a page in the built-in browser again, or to call any tool that drives it.
- Observe the result: the tool call is rejected immediately with
unsupported call: <tool-name>.
What to check after step 5
- Repeat step 4 several times: the rejection is consistent, not intermittent.
- Ask the agent to list available tools or MCP resources: the listing still works and returns results, confirming the transport is fine and only the tool registry is incomplete.
- Note that no approval prompt appears and no service receives the request — the failure happens locally at dispatch time, so there is nothing to retry or approve.
Control
Repeat steps 1–2 in a session where you never switch models. Browser use keeps working, which isolates the model switch as the trigger.
What is the expected behavior?
No response
Additional information
No response
Activity