Skip to content

fix(server): probe Antigravity thinking levels even when default model has none - #14

Merged
ethanlee66 merged 1 commit into
mainfrom
fix/antigravity-probe-thinking-levels
Nov 25, 2026
Merged

ethanlee66 merged 1 commit into
mainfrom
fix/antigravity-probe-thinking-levels

Conversation

@ethanlee66

Copy link
Copy Markdown
Owner

Problem

AntigravityDriver.publishCatalog only looped through models to probe their thought_level options when the session's initial default model advertised a thought_level config option. When the default model has no thought_level (for example gemini-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

  • Remove the antigravityThinkingConfig(configOptions) !== undefined precondition (and unused import) from publishCatalog in apps/server/src/provider/Drivers/AntigravityDriver.ts, and probe every deduplicated non-empty non-default model before restoring current.
  • Add an opt-in T3_ACP_ANTIGRAVITY_THINKING_ON_HIGH mode to apps/server/scripts/acp-mock-agent.ts where the default model (gemini-test-low) has no thought_level while gemini-test-high advertises low/medium/high/xhigh.
  • Add a regression test in apps/server/src/provider/Drivers/AntigravityDriver.test.ts covering 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), and test: 2 files / 11 tests passed — AntigravityDriver.test.ts 9/9 passed on macOS, AgentContextBudget.test.ts 2/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).

…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.
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M labels Nov 25, 2026
@ethanlee66
ethanlee66 merged commit 91b6eef into main Nov 25, 2026
13 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants