I tried adding this to my config:
{
"models": {
"providers": {
"openai-codex": {
"models": [{ "id": "gpt-5.4", "contextTokens": 1000000 }]
}
}
}
}
But got:
- models.providers.openai-codex.baseUrl: expected string, received undefined
- models.providers.openai-codex.models.0.name: expected string, received undefined
- models.providers.openai-codex.models.0: Unrecognized key: "contextTokens"
The docs say contextTokens is the effective runtime cap separate from contextWindow, but the schema seems to require a full provider definition. Is there a lighter-weight config path for this?