Review-fix on the salvaged #139264 commit: - the managed-OAuth gate compared the override's base_url only against the registry default; a Codex/xAI install routed through HERMES_CODEX_BASE_URL / HERMES_XAI_BASE_URL stayed on the frozen switch-time bearer (live probe: A, A, A after auth.json moved to B) - when the auth store cannot vouch for a bearer (logged out, host/provider mismatch), keep the session's route with its last-known credential instead of silently moving the session to the default provider (main's behaviour for a keyed override) - _record_model_switch tolerates switch results without resolved_via_alias Fixes #136685
2 lines
12 B
Plaintext
2 lines
12 B
Plaintext
jeanspector
|