configuration file wipped
Resolved 💬 4 comments Opened Jul 31, 2025 by extremesecrecy Closed Oct 27, 2025
💡 Likely answer: A maintainer (bolinfest, collaborator)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
_No response_
Which model were you using?
_No response_
What platform is your computer?
_No response_
What steps can reproduce the bug?
Every time that I change providers, the configuration json file gets reset loosing configuration.
What is the expected behavior?
Non-provider configuration should remain.
What do you see instead?
Complete file is regenerated from template.
Additional information
_No response_
4 Comments
The config file is
~/.codex/config.toml. Theconfig.jsonis a legacy file.Well, that one is still not working.
I cannot get it to work unless I hard code
CODEX_OSS_BASE_URL=http://localhost:11434/v1and I run itcodex --oss -m mistral-small:latest. If I try the profile or by model, etc. It still tries to use OpenAi.Can you try
model_provider = "ollama"instead?I presume this issue is no longer relevant, so I'm closing it. If you have related questions, feel free to post in the discussion forum.