Repository navigation
feat(swarm): Add zero-friction Tier 1 serverless support for Gemini 4 Argon and DeepSeek V4.1 Flash - #11
Merged
Conversation
… Argon and DeepSeek V4.1 Flash Add zero-friction Tier 1 serverless Model Garden integration for Cloud Run swarms: - Support Gemini 4 Argon and DeepSeek V4.1 Flash MaaS with zero console form agreements. - Implement actionable preflight diagnostics distinguishing Tier 1 serverless models, Tier 2 gated partner models (Claude), and Tier 3 dedicated GPU clusters (GLM 5.3, Llama 3.3). - Auto-promote Vertex mode and resolve DeepSeek endpoints strictly under the global namespace. - Restore maxOutputTokens: 1 limit across generateContent preflight probes to avoid token quota waste. - Update documentation and test matrix covering partner and serverless probe flows.
…nd auth lifecycle
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
Operators dispatching Cloud Run swarms faced high initial friction when selecting models:
This change equips Cloud Run swarms with zero-friction Tier 1 serverless models (Gemini 4 Argon and DeepSeek V4.1 Flash) on global endpoints.
Scope
--list-modelstocloud_dispatch.pyto inspect supported tiers and enablement requirements directly from CLI.cloud_dispatch.pyfor Tier 3 open-weights models (glm-5-3-flash,llama-3.3-70b) with actionable diagnostic guidance.publishers/deepseek-ai/models/deepseek-v4.1-flash-maas).generationConfig: {"maxOutputTokens": 1}across Vertex AIgenerateContentprobe calls to eliminate preflight token waste.check_model_garden()insetup_runtime.pyso Tier 1 serverless operators pass doctor checks without optional partner dependencies.test_cloud_preflight_and_worker.pyandtest_cloud_worker_vertex_partner.py.Tradeoffs
globallocation namespace, which is the sole supported region for DeepSeek MaaS endpoints on Google Cloud.Blast Radius
skills/swarm/scripts/cloud_dispatch.py: Affects preflight probe logic and swarm model alias resolution. Backward compatible with all existing Gemini and Claude partner models.skills/swarm/scripts/cloud_worker.py: Resolves per-task model overrides and sets global location for DeepSeek tasks.skills/setup-agystack/scripts/setup_runtime.py: Broadens Model Garden detection to include native serverless models.Verification
python3 -m unittest discover tests).