mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why A resumed thread can use a different provider from the server default. A successful account quota read can then show warnings and banners for quota the thread does not use. ## What changed Apply account quota reads and prefetch quota only when the active provider uses account quota. Preserve remote provider definitions when reloading local preferences, refresh custom provider definitions on remote resume, and clear cached quota when the provider or its definition changes. For providers with independent quota, use turn updates for warnings and composer notices. Keep omitted windows from sparse updates, clear the notice when reported usage falls below the warning threshold, and omit the `/status` hint. Limit the model-switch prompt to the built-in OpenAI provider. ## Testing Extend coverage for starting and resuming sessions across providers, including an authentication change under the same provider ID. Verify that custom-provider turn updates can show and clear a quota notice without triggering a model-switch prompt. GitOrigin-RevId: 4e6c95efe46ec420cee7b09d5f5a94862307530c