Files
t3code/apps
BinBandit 9dc1b8153b fix(server): skip auth check when Codex CLI uses a custom model provider
When the Codex CLI is configured with a custom model_provider in
~/.codex/config.toml (e.g. Portkey, Azure OpenAI proxy), authentication
is handled via provider-specific environment variables rather than
`codex login`. The `codex login status` probe would report 'not logged
in' and t3code would treat this as a blocking error, even though the CLI
works perfectly fine.

This change reads the model_provider key from the Codex CLI config file
at startup. When a non-OpenAI provider is detected, the auth probe is
skipped and the provider health check returns ready with authStatus
'unknown' instead of erroring out.

Fixes #644
2026-03-09 20:44:39 +11:00
..
2026-03-09 01:20:14 -07:00
2026-03-09 01:12:55 -07:00