Skip to content

[Bug]: Codex model evals require a Codex provider named vibeproxy and crash without it #38563

Closed

Description

@Lenoridev

Area

Build, CI, or release tooling

Steps to reproduce

  1. Set up CLIProxyAPI as described in the guide linked from docs/user/faq.md. That guide names the Codex provider cliproxy:

    model_provider = "cliproxy"
    
    [model_providers.cliproxy]
    base_url = "https://<box>.<tailnet>.ts.net:8317/v1"
    wire_api = "responses"
  2. From evals/, run pnpm mcp-tool-use --model gpt-6.1-sol --case NODEV-02 --samples 1 --out runs/check, or run pnpm test-signal --out runs/check.

Expected behavior

The eval uses the Codex provider that is configured, or says which provider name it needs. The eval READMEs say what setup Codex runs need and that Claude runs do not need it.

Actual behavior

Both commands fail before any model call with a Python traceback that ends in KeyError: 'vibeproxy'. With no ~/.codex/config.toml at all, they fail with FileNotFoundError. The error does not say what to set up.

evals/shared/proxy.ts:20-21 reads only ~/.codex/config.toml and only model_providers.vibeproxy. It ignores model_provider and CODEX_HOME, which the same guide suggests for a separate hub install. The eval READMEs name vibeproxy (evals/mcp-tool-use/README.md:16, evals/test-signal/README.md:15) but do not say how to set it up. evals/README.md and AGENTS.md do not mention it.

This leaves these workflows unavailable to anyone whose provider is not named vibeproxy:

  • Measuring a change to apps/server/src/provider/CodexDeveloperInstructions.ts. Only GPT runs put that text in front of a model (evals/mcp-tool-use/run.ts:766). AGENTS.md asks contributors to run the evals before changing model-facing text.
  • Writing a case for a Codex behavior bug that fails before the fix. Cases with "harness": "codex" are filtered out of Claude runs (run.ts:2524).
  • Running Claude with a GPT shell model (--shell-model gpt-6.1-terra), which the secrets results in the README use as their baseline.
  • Running test-signal at all. It loads the proxy at startup (evals/test-signal/run.ts:42).

Claude runs with the default Haiku shell, --dry-run, --context, and the thread-titles, pr-content and voice-cleanup evals are unaffected.

Introduced in #24635 and moved to evals/shared/proxy.ts in #26166.

Impact

Major degradation or frequent failure (maintainer and contributor eval tooling only; no product impact).

Version or commit

main @ f5f8c8d

Environment

Any OS. The Python part of proxy.ts was reproduced with Python 3.11+ against a config written as in the guide. The helper also needs Python 3.11 or newer for tomllib.

Workaround

Rename or copy the provider entry in ~/.codex/config.toml to [model_providers.vibeproxy].

Possible fix

The smallest change I can see:

  1. In evals/shared/proxy.ts, read the provider name from an env var such as EVALS_CODEX_PROVIDER. If it is unset, fall back to model_provider in config.toml, then to vibeproxy. Respect CODEX_HOME.
  2. When no provider is found, fail with one line that names what is missing.
  3. In evals/mcp-tool-use/README.md and evals/test-signal/README.md, say that GPT runs need a Codex model_providers entry that speaks the Responses API, such as CLIProxyAPI, and link the FAQ guide. Say that Claude runs and the other evals do not need it.

Whether a direct OpenAI API key should also be documented is a separate question. The replayed Codex request includes Codex-specific fields (namespace tools, reasoning.context), and I have not checked whether the public Responses API accepts them.

Activity

  1. changed the title [-]Codex model evals require a Codex provider named `vibeproxy` and crash without it[/-] [+][Bug]: Codex model evals require a Codex provider named `vibeproxy` and crash without it[/+] on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions