vigiles API reference
    Preparing search index...

    Function codexMockArgs

    • 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".

      Parameters

      • baseUrl: string

      Returns string[]