Repository navigation
feat(models): normalize Gemini 4 and Gemini 3.8 Flash in normalize_model_for_surface - #30
Merged
Merged
Conversation
…oud swarm and runtime
…and 3.8 Flash fallback
This was referenced Nov 23, 2026
…4 role key invariant
Owner
Author
Shipping Verdict:
|
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.
Why
Goal: Support Gemini 4 models and effort suffixes across agystack without breaking Gemini 3.8 Flash users or violating tool boundary schemas. Credit to @ggdayup in #19 for the Gemini 4 Cloud Run alias matrix and @Luizdetec in #26 for the effort-balanced role preset.
What changed
Added cross-surface model boundary translation so one agystack-models.md configuration works across invoke_subagent, /cloud-swarm, and native swarm while keeping the default configuration compatible with Gemini 3.8 Flash.
Scope
Tradeoffs
Shipped active roles in agystack-models.md stay on inherit, flash, and pro so Gemini 3.8 Flash sessions work with zero configuration, while /setup-agystack offers the Gemini 4 Effort-Balanced preset.
Blast Radius
Touches model resolution in skills/cloud-swarm/scripts/ and skills/setup-agystack/scripts/setup_runtime.py. Existing Gemini 3.x, Gemini 4 Argon, and partner model configs resolve identically.
Verification