Repository navigation
fix(server): probe Antigravity thinking levels even when default model has none - #14
Merged
Merged
Conversation
…l has none AntigravityDriver.publishCatalog gated its per-model thinking-level probe on whether the initial default model advertised thought_level. When the default model has no thought_level (such as gemini-pro-orchestrator-neon), catalog refresh skipped probing every other model, leaving newly added or uncached models without thinking levels until selected in a live session.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
AntigravityDriver.publishCatalogonly looped through models to probe theirthought_leveloptions when the session's initial default model advertised athought_levelconfig option. When the default model has nothought_level(for examplegemini-pro-orchestrator-neon), signing in or refreshing models skipped probing every other Antigravity model, leaving uncached or newly added models without thinking levels in the picker until a live session switched to them.Change
antigravityThinkingConfig(configOptions) !== undefinedprecondition (and unused import) frompublishCataloginapps/server/src/provider/Drivers/AntigravityDriver.ts, and probe every deduplicated non-empty non-default model before restoringcurrent.T3_ACP_ANTIGRAVITY_THINKING_ON_HIGHmode toapps/server/scripts/acp-mock-agent.tswhere the default model (gemini-test-low) has nothought_levelwhilegemini-test-highadvertiseslow/medium/high/xhigh.apps/server/src/provider/Drivers/AntigravityDriver.test.tscovering catalog refresh when the default model has no thinking levels, and update the existing refresh request sequence assertion.Scope
Focused bug fix for Antigravity catalog thinking-level discovery; no UI or unrelated provider changes.
Verification
vp run check:changed fork/main: passed (format,lint,knip 1/2,knip 2/2,graphql (apps/server),typecheck (3 packages), andtest: 2 files / 11 tests passed —AntigravityDriver.test.ts9/9 passed on macOS,AgentContextBudget.test.ts2/2 passed).vp test run apps/server/src/provider/AntigravityProvider.test.ts: passed (1 file / 26 tests passed).Built with Orchestrator (Neon) in T3 Code (Antigravity harness).