incorrect model calling
Resolved 💬 3 comments Opened Jun 2, 2026 by sebastian73m Closed Jun 3, 2026
What version of Codex CLI is running?
codex-cli 0.136.0
What subscription do you have?
PRO
Which model were you using?
gpt-5.5 high fast
What platform is your computer?
Linux Ubuntu 26
What terminal emulator and version are you using (if applicable)?
kitty
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1780443912s since unix epoch",
"overallStatus": "fail",
"codexVersion": "0.136.0",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "/home/sebastian/.codex/app-server-control/app-server-control.sock",
"daemon state dir": "/home/sebastian/.codex/app-server-daemon",
"mode": "ephemeral",
"pid file": "/home/sebastian/.codex/app-server-daemon/app-server.pid (missing)",
"settings": "/home/sebastian/.codex/app-server-daemon/settings.json (missing)",
"status": "not running",
"update-loop pid file": "/home/sebastian/.codex/app-server-daemon/app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 0
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "/home/sebastian/.codex/auth.json",
"auth storage mode": "File",
"stored API key": "false",
"stored ChatGPT tokens": "true",
"stored agent identity": "false",
"stored auth mode": "chatgpt"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "/home/sebastian/.codex",
"config.toml": "/home/sebastian/.codex/config.toml",
"config.toml parse": "ok",
"cwd": "/home/sebastian/proyectos/muladharayoga",
"enabled feature flags": "shell_tool, unified_exec, shell_snapshot, terminal_resize_reflow, sqlite, memories, hooks, enable_request_compression, multi_agent, apps, tool_suggest, plugins, in_app_browser, browser_use, browser_use_external, computer_use, plugin_sharing, image_generation, skill_mcp_dependency_install, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, personality, fast_mode, tui_app_server, prevent_idle_sleep, workspace_dependencies",
"feature flag overrides": "memories=true, mentions_v2=true, prevent_idle_sleep=true",
"feature flags enabled": "30",
"log dir": "/home/sebastian/.codex/log",
"mcp servers": "6",
"model": "gpt-5.5",
"model provider": "openai",
"sqlite home": "/home/sebastian/.codex"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git version 2.53.0",
"details": {
".git entry": "directory",
"PATH git #1": "/usr/bin/git",
"PATH git #2": "/bin/git",
"PATH git entries": "2",
"git branch": "main",
"git build options": "git version 2.53.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh; rust: disabled; gettext: enabled; libcurl: 8.18.0; zlib: 1.3.1; SHA-1: SHA1_DC; SHA-256: SHA256_BLK; default-ref-format: files; default-hash: sha1",
"git exec path": "/usr/lib/git-core",
"git version": "git version 2.53.0",
"repo detected": "true",
"repo root": "/home/sebastian/proyectos/muladharayoga",
"selected git": "/usr/bin/git"
},
"remediation": null,
"durationMs": 16
},
"installation": {
"id": "installation",
"category": "install",
"status": "fail",
"summary": "npm install -g @openai/codex would update a different install",
"details": {
"PATH codex #1": "/home/sebastian/.local/share/pnpm/bin/codex",
"PATH codex #2": "/run/user/1000/fnm_multishells/1548580_1780412867767/bin/codex",
"PATH codex entries": "2",
"current executable": "/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/bin/codex",
"install context": "npm (package /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl, bin /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/bin, resources /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex-resources, path /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex-path)",
"managed by bun": "false",
"managed by npm": "true",
"managed package root": "/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0/f4506d6e887b7f4042828a60f8087fafe2822aa214b2534660714a2fdb9788fd/node_modules/@openai/codex",
"npm package root": "/home/sebastian/.local/share/fnm/node-versions/v22.22.2/installation/lib/node_modules/@openai/codex",
"running package root": "/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0/f4506d6e887b7f4042828a60f8087fafe2822aa214b2534660714a2fdb9788fd/node_modules/@openai/codex"
},
"remediation": "Fix PATH or npm prefix so the running package root (/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0/f4506d6e887b7f4042828a60f8087fafe2822aa214b2534660714a2fdb9788fd/node_modules/@openai/codex) matches the npm global package root (/home/sebastian/.local/share/fnm/node-versions/v22.22.2/installation/lib/node_modules/@openai/codex).",
"durationMs": 49
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "MCP configuration is locally consistent",
"details": {
"configured servers": "6",
"disabled servers": "0",
"stdio servers": "4",
"streamable_http servers": "2"
},
"remediation": null,
"durationMs": 3664
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars": "none"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"ChatGPT base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 403)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 165
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 2 IPv6, first IPv4",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "wss://chatgpt.com/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "openai",
"models etag present": "true",
"provider name": "OpenAI",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 1787
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running npm on linux-x86_64",
"details": {
"commit": "unknown",
"current executable": "/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/bin/codex",
"install method": "npm (package /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl, bin /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/bin, resources /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex-resources, path /home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex-path)",
"platform": "linux-x86_64",
"version": "0.136.0"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (bundled)",
"details": {
"search command": "/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0-linux-x64/4ae556621fb83c67f4ef64b5ff18dd60015327151899deec73c2f935db5108d0/node_modules/@openai/codex/vendor/x86_64-unknown-linux-musl/codex-path/rg",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "OnRequest",
"codex-linux-sandbox helper": "/home/sebastian/.codex/tmp/arg0/codex-arg0h65D3M/codex-linux-sandbox",
"execve wrapper helper": "/home/sebastian/.codex/tmp/arg0/codex-arg0h65D3M/codex-execve-wrapper",
"filesystem sandbox": "restricted",
"network sandbox": "restricted"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "/home/sebastian/.codex (dir)",
"active rollout files": "267 files, 1135617429 total bytes, 4253248 average bytes",
"archived rollout files": "0 files, 0 total bytes, 0 average bytes",
"goals DB": "/home/sebastian/.codex/goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "/home/sebastian/.codex/logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "/home/sebastian/.codex/log (dir)",
"memories DB": "/home/sebastian/.codex/memories_1.sqlite (file)",
"memories DB integrity": "ok",
"sqlite home": "/home/sebastian/.codex (dir)",
"state DB": "/home/sebastian/.codex/state_5.sqlite (file)",
"state DB integrity": "ok"
},
"remediation": null,
"durationMs": 150
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "warning",
"summary": "rollout files and state DB thread inventory differ",
"details": {
"default model provider": "openai",
"rollout DB active files": "267",
"rollout DB active rows": "266",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "0",
"rollout DB archived rows": "0",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread ids": "0",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "1",
"rollout DB missing active sample": "/home/sebastian/.codex/sessions/2026/03/24/rollout-2026-03-24T18-46-46-019d21d0-81d4-73d0-8154-680e9a17802d.jsonl",
"rollout DB missing archived rows": "0",
"rollout DB model providers": "openai=266",
"rollout DB rows": "266",
"rollout DB scan cap reached": "false",
"rollout DB scan errors": "0",
"rollout DB sources": "cli=147, subagent:other=89, vscode=24, subagent:thread_spawn=6",
"rollout DB stale rows": "0"
},
"issues": [
{
"severity": "warning",
"cause": "rollout files are missing from the state DB",
"measured": "1 active, 0 archived",
"expected": "every rollout file has a matching threads row",
"remedy": null,
"fields": []
}
],
"remediation": null,
"durationMs": 3026
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language es-ES",
"details": {
"LANG": "es_ES.UTF-8",
"os": "Ubuntu 26.4.0 (resolute) [64-bit]",
"os language": "es-ES",
"os type": "Ubuntu",
"os version": "26.4.0"
},
"remediation": null,
"durationMs": 10
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"COLORTERM": "truecolor",
"DISPLAY": "present",
"TERMINFO": "/home/sebastian/.local/kitty.app/lib/kitty/terminfo (dir)",
"WAYLAND_DISPLAY": "present",
"color output": "enabled",
"effective locale": "es_ES.UTF-8",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout is terminal": "true",
"terminal": "kitty",
"terminal size": "166x76"
},
"remediation": null,
"durationMs": 0
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "git repo root",
"terminal title project value": "muladharayoga",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "fail",
"summary": "update would target a different npm install",
"details": {
"cached latest version": "0.136.0",
"check for update on startup": "true",
"last checked at": "2026-06-02T15:22:41.111209594Z",
"latest version": "0.136.0",
"latest version status": "current version is not older",
"npm package root": "/home/sebastian/.local/share/fnm/node-versions/v22.22.2/installation/lib/node_modules/@openai/codex",
"running package root": "/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0/f4506d6e887b7f4042828a60f8087fafe2822aa214b2534660714a2fdb9788fd/node_modules/@openai/codex",
"update action": "npm install -g @openai/codex",
"version cache": "/home/sebastian/.codex/version.json"
},
"remediation": "Fix PATH or npm prefix so the running package root (/home/sebastian/.local/share/pnpm/store/v11/links/@openai/codex/0.136.0/f4506d6e887b7f4042828a60f8087fafe2822aa214b2534660714a2fdb9788fd/node_modules/@openai/codex) matches the npm global package root (/home/sebastian/.local/share/fnm/node-versions/v22.22.2/installation/lib/node_modules/@openai/codex).",
"durationMs": 387
}
}
}
What issue are you seeing?
Estoy trabajando normalmente y empieza a dar este error
{
"type": "error",
"error": {
"type": "image_generation_user_error",
"code": "invalid_value",
"message": "The model 'gpt-image-2' does not exist.",
"param": "tools"
},
"status": 400
}
Desactive el skill de image gen pero sigue sucediendo
What steps can reproduce the bug?
Uploaded thread: 019e8ab4-f0b2-7000-9263-233ff25e738b
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗