Antigravity CLI provider: explicit tier defaults, instant empty-completion resample, doc truth-up - #2
Closed
andreBurnt wants to merge 6 commits into
Closed
Antigravity CLI provider: explicit tier defaults, instant empty-completion resample, doc truth-up#2andreBurnt wants to merge 6 commits into
andreBurnt wants to merge 6 commits into
Conversation
… (LINC#571) Also drops the gemini-3.5-flash-* entries: the new agy-models staleness tripwire caught them already gone from the live CLI on its first run.
…of dead backoff (LINC#571)
…NC#571 evidence Also fixes DEFAULT_RETRY_OPTS typing for the optional delayMs field.
Owner
Author
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.
Implements the council-reviewed remediation for LincForge/LINC#571 (Antigravity CLI latency divergence). Design spec + measurements: 2026-09-01-agy-latency-remediation-design.md.
Changes
AGY_TIER_MODELS): fast=flash-low, balanced=flash-medium, smart/code=flash-high (deliberately shared — no higher non-pro rung; commented).autostays user-selectable. Tier-routed calls resolve through the map (mirrors GeminiProvider).agyRetryDelayMsreturns 0 forEmptyCompletionError(stochastic model abandonment, not load-shedding) — drops up to 7s of dead backoff from the 25s+ outlier band; transient CLI errors keep exponential backoff. Wired via a new backward-compatibleRetryOptions.delayMshook.AGY_MODELSagainst liveagy models; it fired on its first run — thegemini-3.5-flash-*trio is already sunset upstream. Removed, withmodelMigrationsmapping saved 3.5 routing to the current 3.7 line at the same effort.run_command,write_to_file).Not done (deliberate, per spec)
Downstream impact
RetryOptions(changed): new optionaldelayMsfield — additive, no consumer breaks.AGY_TIER_MODELS,agyRetryDelayMs(new exports).describe().defaultTierModelsvalues (changed): the built-in antigravity-cli Settings preset now routes tiers to explicit models instead ofauto. Saved user routings untouched except sunset 3.5 ids, which migrate to 3.7 via the existingmodelMigrationspath (codex precedent).Verification
pnpm tsx --test 'src/**/*.test.ts'→ 12/12 pass (3 pre-existing + 9 new),npx tsc --noEmitclean.