Repository navigation
fix(server): keep per-model Antigravity thinking levels after restart - #39398
tensorcopy wants to merge 4 commits into
Conversation
Antigravity reports thinking levels only for the selected model. A model the server had not observed yet was given the selected model's levels (without a current value). Because that fallback was non-empty, the registry merge replaced the levels the model had reported earlier, so a model with more levels (for example xhigh) lost them after a restart. An unobserved model now reports no thinking descriptor, which lets the registry keep the levels it last reported.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
81d67b9 to
e61c256
Compare
|
Hit this exact issue on live
Dropping the |
…bserved-thinking-levels
|
Building on @rune-gh's note about models with no There's one edge case left with Even with this PR, So for any existing user upgrading from Flagging this in case you want to distinguish "unobserved" vs "explicitly observed as having no thinking options" here (while keeping Cursor's |
Problem
After a restart, an Antigravity model could lose its own thinking levels and show the currently selected model's levels instead. For example,
low/medium/high/xhighbecamelow/medium/high; each model should retain the levels it last reported.Change
Stop giving unobserved models the selected model's thinking descriptor. They now report no descriptor until observed, so the registry merge retains their previously reported capabilities. Selected and observed models still use their own descriptors, including an explicit absence of thinking options.
Scope
This is a small fix for an obvious catalog bug, so no separate issue is needed. It changes only Antigravity's model catalog construction and its regression tests.
Verification
deepwithlow/medium/high/xhigh, then merges a restarted provider snapshot that has observed onlyfastwithlow/medium/high. Onmain,deepincorrectly becomeslow/medium/high; with this change, it keepsxhigh.apps/server; six files with 211 tests passed:packages/provider-acpsessionConfig.test.ts: six tests passed.effect-tsgo tsrs --noEmit,vp lint, andvp fmt --checkare clean for the changed files.I did not run the full repository suite or a live Antigravity session.
Claude Opus 5.5 in T3 Code.