Files
cc-switch/src-tauri
Jason 798602c359 fix(codex): backfill names for all custom tables, never for Bedrock ones
Codex 0.149 rejects the whole config when any non-Bedrock provider table
has an empty/missing name, active or not — plain config-only switches
never went through the update path's backfill, so prepare now normalizes
every custom table (keyless and official writes included).

The Bedrock built-ins are the mirror image: they only allow
base_url/auth/http_headers/aws.* overrides, and writing name there makes
the built-in merge reject the whole config — the proxy takeover rewrites
base_url through update_codex_toml_field, so its backfill now skips both
reserved ids.

Also drop auth/aws as own-credential short-circuits from the official-auth
fallback predicate: 0.149 validates both as mutually exclusive with
requires_openai_auth, so tables combining them are dead configs the whole
file fails to load with — flagging them keeps them from being written.
2026-08-27 08:37:56 +08:00
..
2026-08-18 16:48:02 +08:00
2026-08-18 16:48:02 +08:00
2026-08-18 16:48:02 +08:00