mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why Matching model ETags can arrive on every response, but a recent models cache does not need to be rewritten each time. ## What changed Renew the models cache timestamp only after more than half of its configured TTL has elapsed. Matching ETags continue to avoid refetching `/models`. ## Testing Added integration coverage that verifies a recent cache remains unchanged and an older cache is renewed without another `/models` request. GitOrigin-RevId: b45da3824674c6b41d982ba4a405b419b09b7715