The PROVEN -c flag array that points codex exec at a mock served at
baseUrl (e.g. http://127.0.0.1:PORT) over the Responses wire API, keyless.
Defines a [model_providers.mock] provider inline and selects it as the
active model provider. baseUrl is suffixed with /v1 (codex appends
/responses). Combine with codexMockEnv() and the codex exec flags
--ignore-user-config --skip-git-repo-check --ephemeral --dangerously-bypass-approvals-and-sandbox -c model="gpt-5-codex".
The PROVEN
-cflag array that pointscodex execat a mock served atbaseUrl(e.g.http://127.0.0.1:PORT) over the Responses wire API, keyless. Defines a[model_providers.mock]provider inline and selects it as the active model provider.baseUrlis suffixed with/v1(codex appends/responses). Combine withcodexMockEnv()and thecodex execflags--ignore-user-config --skip-git-repo-check --ephemeral --dangerously-bypass-approvals-and-sandbox -c model="gpt-5-codex".