Codex app (new ChatGpt app) broken after big update
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.707.31428
What subscription do you have?
Free
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
After the latest update, i was getting this error :
Invalid Value: 'tools.namespace'. User-defined namespace 'image_gen' collides with an existing tool namespace.
````
i changed my config.toml with these :
[features]
apps = true
hooks = true
terminal_resize_reflow = true
memories = true
external_migration = true
goals = true
prevent_idle_sleep = true
fast_mode = true
js_repl = false
imagegen = true
imagegenext = false
X-OpenAI-Internal-Codex-Responses-Lite only supports function tools, custom tools, and client-executed tool search.
I was using custom hosted models on azure, seems it doesn't work anymore ?
config.toml
model = "gpt-5.6-sol"
model_provider = "azure"
model_reasoning_effort = "medium"
personality = "pragmatic"
notify = ["/Users/rafikbelkadi/.codex/computer-use/Codex Computer Use.app/Contents/SharedSupport/SkyComputerUseClient.app/Contents/MacOS/SkyComputerUseClient", "turn-ended"]
service_tier = "default"
[model_providers.azure]
name = "Azure"
base_url = "https://y-ai-resource.cognitiveservices.azure.com/openai"
env_key = "AZURE_OPENAI_API_KEY"
requires_openai_auth = true
query_params = { api-version = "2025-04-01-preview" }
wire_api = "responses"
service_tier = "default"
### What steps can reproduce the bug?
just try to use a custom model i guess ?
### What is the expected behavior?
ability to choose my custom models, and have it work properly like it previously did
### Additional information
_No response_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
yes azure deployments started demanding imagegen for some reason since 09.07.2026. probably azure fault because this happened for codex CLI, codex app, and codex vs extension.
codex cli needed reisntall and started working but vs extension is still tweaking
Same issue on Codex Desktop 26.707.62119 with custom Responses provider.
Config has:
[features]
image_generation = false
imagegenext = false
[[skills.config]]
path = "/Users/my-nickname/.codex/skills/.system/imagegen/SKILL.md"
enabled = false
codex features listreports image_generation stable false.But Desktop-created thread still logs:
features=[..., ImageGeneration, ...]
And the actual /responses request still contains:
{"type":"namespace","name":"image_gen"}
The custom Responses endpoint returns:
Invalid Value: 'tools.namespace'. User-defined namespace 'image_gen' collides with an existing tool namespace.
CLI no longer sends image_gen after disabling image_generation, but Codex Desktop still does.
Additional reproduction: duplicate
image_genregistration blocks unrelated approval-gated MCP toolsI can reproduce this on Codex Desktop 26.707.62119 with a custom Responses API provider. The impact is broader than image generation: the duplicate image tool registration breaks the approval-review path and therefore blocks otherwise unrelated MCP tools.
Environment
gpt-5.6-solwire_api = "responses"Observed tool registration
There are no user-defined
image_genentries in~/.codex/config.tomlor the workspace config.The same request exposes image generation through two runtime layers:
image_gen.imagegenfunctions.exec:image_gen__imagegenThe local
imagegenskill only references the built-in tool; it is not a second MCP/tool configuration.Reproduction
``
text
``mcp__youdu__youdu_get_context({})
``
text
``Invalid Value: 'tools'. Function 'image_gen.imagegen' conflicts with a hosted tool in the same request.
param: tools
status: 400
Why this affects unrelated MCP tools
The failure appears to happen while constructing or sending the approval-review model request. That request includes both the hosted image-generation tool and a function/developer representation with the same namespace/name. Validation rejects the entire
toolsarray before the requested MCP, GitHub, or shell action executes.Youdu is therefore not the source of the error; it merely triggers the approval path. Any action requiring guardian approval may be blocked.
Expected behavior
Actual behavior
Approval-gated tool execution is completely blocked, including unrelated MCP reads, GitHub writes, and sandbox escalation, even after explicit user approval.
Related issues
Suggested destination: add this report as a comment to openai/codex#32155, since it contains current custom-provider evidence and links the exact-error report.
Additional provider-isolation reproduction from Codex CLI 0.144.4
I reproduced this with the same Codex-generated tool definition routed to two different backends.
Environment
0.144.427.0, arm64gpt-5.6-solgpt-5.6-sol-2026-07-09Method
I captured the actual
/responsespayload generated by Codex. Itstoolsarray contained exactly one client-defined image namespace:I then minimized the request to that exact captured namespace and replayed it without changing the tool schema.
Results
| Backend | Result |
|---|---|
| GitHub Copilot Responses | HTTP 200, completed |
| Azure Foundry GPT-5.6 Sol | HTTP 400 namespace collision |
Azure returned:
Controls against the same Azure deployment:
example.ping: HTTP 200web_searchtool: HTTP 200This appears specific to the reserved
image_gennamespace rather than a general rejection of namespace or hosted tools. The captured client request contained only oneimage_gennamespace, so it was not duplicated by the proxy or user configuration.Workaround confirmed for CLI
image_generationis stable/default-enabled in Codex CLI 0.144.4. Setting:and starting a fresh Codex session removes the
image_gennamespace from the outgoing request.This looks related to #28464, but the provider A/B test suggests the collision is specifically exposed when Azure GPT-5.6 Sol reserves
image_genwhile Codex also advertises the client-executed extension under that name.A possible fix would be for tool planning to suppress or rename the client-defined
image_gennamespace when the selected provider/model already reserves it.A temporary workaround is to remove
requires_openai_author set it to falseCodex CLI:
0.145.0-alpha.27Codex Desktop:
26.715.61943Discovered by chance.
After ask the agent to do investigation, it finds some code which can explain why disable this config works:
The trade off is cannot open OpenAI plugins marketplace inside the Codex desktop. Codex cli is not affected.