mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
## Why A resumed thread can use a different model provider from the app server's default. A single catalog can show models from the wrong provider when the user opens `/model` in that thread. ## What changed Fetch and cache model lists by provider on servers that support provider selection, and clear cached lists when the account changes. Keep the server's default catalog available for new threads. Apply model choices for alternate providers to the current session only. When a non-Cloud server's catalog cannot be scoped to a provider, show the server's default models and limit changes to the current session as well. ## Testing Cover provider-scoped requests, fallback to unscoped lists, session-only picker actions, and preservation of new-thread defaults after refreshing an alternate provider's catalog. GitOrigin-RevId: 9e82c99613dba5de73cb2210dc61835b812cedf5