mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
## Why After provider setup, new threads could still use the models manager created for the server's startup provider, leaving their default model inconsistent with the model picker. ## What changed - Build a models manager from the thread's configuration when its provider differs from the startup provider. - Invalidate the model catalog after successful Amazon Bedrock setup so subsequent model listings reflect the configured provider. ## Testing Extend Bedrock and GCP setup integration tests to verify that a new thread's model matches the refreshed model listing. The Bedrock test also checks that the thread uses `amazon-bedrock`. GitOrigin-RevId: 1db30ad040ba97e2f4f31c9e162a2b73af1377fa