Support GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna
ChatMock currently requests the Codex model catalog with client_version=0.146.0, which omits the GPT-6 models. A newer catalog version is needed to discover gpt-6-astra, gpt-6-sol, and gpt-6-luna.
This follows the existing model catalog approach and extends support across the GPT-6 models:
- Update the catalog client version and invalidate cache entries from older versions.
- Register the three models for use when model sync is disabled, with their supported reasoning levels.
- Add priority tier fallback support, update the README model list, and cover model listing and cache invalidation in tests.
A local live check returned the three models in the catalog, and a short non-streaming Chat Completions request succeeded for each.
Measured this today against a live ChatGPT subscription (plus plan) while fixing the same thing in a LiteLLM plugin, so here are the actual numbers per client_version in case they save you a round trip.
Asking /backend-api/codex/models with the same token, varying only client_version:
0.146.0 -> 6 models, no gpt-6 at all
0.153.0 -> 7 models, gpt-6-astra appears
0.155.1 -> 9 models, gpt-6-astra + gpt-6-sol + gpt-6-luna
omitted -> 400 missing query param client_version
So 0.146.0 hides all three, and 0.153.0 is enough for astra but still hides sol and luna. You need 0.155.1 for the full set, which matches what pi-catalog 18.3.1 pins with the comment about exposing Sol and Luna.
One detail that cost me a while: client_version is a query parameter, not a header. If you only send it as a header the endpoint answers 400 missing query param, which reads exactly like the endpoint not existing. Worth checking if you have both paths.
Also the payload is large enough that a truncated read leaves invalid JSON, which looks like a broken endpoint rather than a short read.
On your point about invalidating cache entries from older versions, that matters more than it sounds. The gate is on the catalog itself, not just on inference, so a cached listing from 0.146.0 keeps hiding the models even after you bump the constant. Cached under the version that produced it is the safe shape.
The two slugs codex-auto-review and gpt-reserve come back in every response here and neither serves a turn, so you probably want them filtered out of whatever you show users.