Error: missing field `persistence`
Resolved 💬 2 comments Opened Jul 3, 2025 by cchen7 Closed Oct 27, 2025
What version of Codex is running?
codex-cli 0.2.0
Which model were you using?
codex-mini
What platform is your computer?
Darwin 24.5.0 arm64 arm
What steps can reproduce the bug?
codex debug seatbelt
Error: missing field persistence
in history
My configure
#cat ~/.codex/config.toml
model = "codex-mini"
provider = "azure"
[providers.azure]
name = "AzureOpenAI"
baseURL = "https://MYRESOURCE.openai.azure.com/openai/"
envKey = "MY_AZURE_OPENAI_KEY"
[history]
maxSize = 1000
saveHistory = true
sensitivePatterns = []
What is the expected behavior?
I'm not sure what's wrong in my toml config file. And there have no sample template for customize the model provider like Azure OpenAI
What do you see instead?
_No response_
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗