Repository navigation
feat(hac): apps/sandbox-executor/src/sandbox_executor/runners/antigravity.py statically hardcodes... - #481
Open
thomashan wants to merge 6 commits into
Conversation
Description: apps/sandbox-executor/src/sandbox_executor/runners/antigravity.py statically hardcodes only gemini-3.8-flash* models so holon doctor --agent antigravity-agent --model gemini-4-neon rejects current agy models. Goal: Update apps/sandbox-executor/src/sandbox_executor/runners/antigravity.py and apps/sandbox-executor/src/sandbox_executor/runners/__init__.py to discover models dynamically from agy models when available (with fallback capabilities covering gemini-4-neon*, gemini-4-carbon*, gemini-4-hydrogen*, and existing gemini-3.8-flash* aliases so legacy tests keep passing) and normalize effort levels cleanly. Ensure holon doctor --agent antigravity-agent --model gemini-4-neon succeeds without rejecting the model, and update unit tests in apps/sandbox-executor/tests/test_runner_specs.py and apps/sandbox-executor/tests/test_models_cli.py under uv run pytest. Code is self-explaining: no docstrings and no comments except '# why:' comments that record a reason the code cannot show. Generated by Holon Intent Agent at 2026-12-02T23:26:30Z
…ntigravity-model-discovery/P-1796254006-CLA-CO5.5-2/_
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.
Summary
apps/sandbox-executor/src/sandbox_executor/runners/antigravity.py statically hardcodes only gemini-3.8-flash* models so holon doctor --agent antigravity-agent --model gemini-4-neon rejects current agy models.
Goal:
Update apps/sandbox-executor/src/sandbox_executor/runners/antigravity.py and apps/sandbox-executor/src/sandbox_executor/runners/init.py to discover models dynamically from agy models when available (with fallback capabilities covering gemini-4-neon*, gemini-4-carbon*, gemini-4-hydrogen*, and existing gemini-3.8-flash* aliases so legacy tests keep passing) and normalize effort levels cleanly. Ensure holon doctor --agent antigravity-agent --model gemini-4-neon succeeds without rejecting the model, and update unit tests in apps/sandbox-executor/tests/test_runner_specs.py and apps/sandbox-executor/tests/test_models_cli.py under uv run pytest. Code is self-explaining: no docstrings and no comments except '# why:' comments that record a reason the code cannot show.
Key Changes
References
None
Plan & Validation Metadata
P-1796254006-CLA-CO5.5-248.49claude-agentclaude-opus-5-5