Codex FAQ
Start with CC Switch setup. These questions cover clients using a Xuo provider; available features and settings vary by Codex version.
Codex still uses the previous provider
- Select Codex in CC Switch, then save and enable the Xuo provider.
- Close the old session and reopen the Codex client you actually use.
- Check the active provider, Base URL
https://api.xuo.cc/v1, and protocolresponses. - Use a model ID from Xuo Model Square. Your key's group must support that model and the Responses API.
- Once production is available, send a short request and check Xuo Usage Logs for the matching call.
If nothing changes, check whether launch arguments, project configuration or environment variables override the provider. Keep API keys out of screenshots. A Xuo key does not replace an OpenAI website account login.
Reconnecting repeatedly or interrupted output
| Symptom | Check first |
|---|---|
| 401 / 403 | Key, account status, group and model permissions |
| 404 | Duplicated /v1, model ID, Responses availability |
| 429 | Wait instructions, concurrency, account or upstream limits |
| 502 / 503 | Temporary platform or upstream failure; report time and request ID |
| No status code or interrupted stream | Network, proxy, streaming timeouts and client logs |
Stop repeated retries and save the error. Use the address and port shown in your own proxy software. Do not assume proxy variables placed in an arbitrary .env file will be loaded.
A disconnected stream does not mean the upstream never processed the request. Resending may create another call and charge. See streaming troubleshooting and general errors.
Windows setup prompt or sandbox initialization failure
System setup, permissions, security software, sandbox initialization and configuration syntax can produce similar symptoms. The prompt alone does not prove configuration corruption.
- Save the full message and check your installation source and version.
- Follow the client or official setup instructions and verify access to your working directory.
- If you recently edited configuration, back up the active file first. Check TOML syntax, duplicate entries and paths.
- Test with a minimal provider configuration while preserving the original. Close related sessions before restoring it.
The common user configuration path is ~/.codex/config.toml, but a custom configuration directory or launch method can change it. Do not delete the entire .codex directory: it may contain credentials, history and other settings.
Automatic approval review denied
Read the details. An unavailable review service, a missing review model and an operation denied by approval rules are different issues. If you also see 503 or a model name such as codex-auto-review, report the client version, time, request ID and sanitized error so the team can check support for that capability.
Do not copy unverified approval_policy values or treat disabling approvals and expanding permissions as a general fix. Use a supported manual confirmation mode if the client offers one. Adjust explicitly denied operations according to the message.
It chats but does not edit files or run commands
Check that the current mode permits actions, the correct project is open, the directory is writable, and tool permissions or approvals are not blocking execution. Successful plain chat does not establish full tool support.
Then verify the provider's Responses protocol and the model's tool capabilities. Report specific tool errors rather than testing by changing model names or allowing all operations.
Can Codex generate images directly?
The client must expose an image tool, and the model, channel and permissions must support it. A working text model does not establish image tool availability.
Check image models, API requirements and prices in Xuo Model Square first. Images may be billed by size or count rather than text tokens.
Does compaction lose information?
Compaction usually replaces part of the history with a summary; it cannot guarantee every detail survives. Save key requirements, progress, changed files and remaining tasks for long jobs, then have the client check those notes when continuing.
Compaction does not refund earlier calls, and caching is not free usage. See models, context and caching.
What to include in a support ticket
Use Support & Tickets in the console. Include the client version, operating system, model ID, time, error code or request identifier, and steps already tried. Remove keys, passwords, business content and payment details from screenshots and logs.
Official references: Codex, configuration reference. Use settings supported by your installed version.
