Repository navigation
Closed
Description
Client or integration
Codex CLI
Area
CLI
Summary
On starting the proxy (ocx start), multiple deprecation warnings/migrations are logged for google-antigravity/gemini-3.x-flash aliases, remapping them to gemini-3.7-flash. While the migration executes successfully and the proxy boots, repetitive warnings on every startup suggest these migrated references may not be persisting cleanly in user config or default templates, or require canonical pruning.
Reproduction
- Start the proxy with previously cached/configured Google Antigravity settings:
ocx start - Observe the multiple
[model-rename-migration]log messages indicating renames togemini-3.7-flash. - Stop the proxy cleanly:
ocx stop - Start the proxy again:
ocx start - Observe that the exact same batch of
[model-rename-migration]messages is logged again instead of being suppressed or persisted.
Version
Latest release (@bitkyc08/opencodex)
Operating system
Windows 11 (x64 / PowerShell)
Provider and model
google-antigravity (gemini-3.7-flash)
Logs or error output
PS C:\windows\system32> ocx start
[model-rename-migration] renamed "google-antigravity/gemini-3.6-flash" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3.6-flash-low" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3.6-flash-medium" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3.6-flash-high" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3.5-flash-extra-low" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3.5-flash-low" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3.5-flash-mid" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3.5-flash-high" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
[model-rename-migration] renamed "google-antigravity/gemini-3-flash-agent" to "gemini-3.7-flash" in the saved config: Google retires the previous Antigravity Flash generation from Cloud Code Assist when its successor ships, so the saved id no longer resolves to a live model.
🚀 opencodex proxy running on http://localhost:58285Screenshots and supporting files
No response
Redacted configuration
Checks
- I searched existing issues and documentation.
- I removed secrets, tokens, account details, request credentials, and personal data.
Activity
fix(providers): stop the Antigravity rename migration re-announcing i…
lidge-jun commentedon Sep 19, 2026
Fixed on
devby #5077, merged as735f915871.The repetition was not a persistence failure. The migration rewrote the field correctly and the write landed;
startServerthen ranreconcileOAuthProviders, andapplyOAuthPresetCatalogcopied the preset's record back over the saved one because the two now differed. The deletion was undone inside the same boot, the config was written twice, and the rename was announced again on the next start. It could never converge, which is why you saw it every time.ANTIGRAVITY_MODEL_CONTEXT_WINDOWSderives a context window for every compatibility alias, somodelContextWindowscarries a key for all nine retired Flash ids alongside the live ones. That is where your nine lines per start came from, and it explains why they appeared without you having selected any of those models.The fix skips exactly one case: a field where the registry's own seed still publishes the retired id AND the saved field already carries the supported id, so the rewrite would only delete a key with nothing to carry forward. A row that saved only the retired id still gets its value moved onto the supported one, because dropping it there would blank the record rather than migrate it. No new storage layer was added, the persistence path is unchanged, and which aliases count as retired is unchanged.
CI at the exact head
952bac63c1was green on every leg. No local suite was run.fix(kimi): retire k2.x ids from the coding picker and migrate saved c…
fix(kimi): K2.8 registry refresh — adjustable thinking, 1M context, k…