Skip to content

feat(antigravity): add Gemini 3.7 Flash (High, Medium, Low) to MITM proxy defaultModels - #3382

Open
alfep wants to merge 1 commit into
decolua:masterfrom
alfep:feat/antigravity-gemini-3.7-flash-models
Open

feat(antigravity): add Gemini 3.7 Flash (High, Medium, Low) to MITM proxy defaultModels#3382
alfep wants to merge 1 commit into
decolua:masterfrom
alfep:feat/antigravity-gemini-3.7-flash-models

Conversation

@alfep

@alfep alfep commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds Gemini 3.7 Flash (High), Gemini 3.7 Flash (Medium), and Gemini 3.7 Flash (Low) entries to MITM_TOOLS.antigravity.defaultModels in src/shared/constants/cliTools.js.
  • Enables direct model mapping configuration for Gemini 3.7 Flash tiers in the 9Router Web Dashboard / MITM Proxy UI table.
  • Added comprehensive unit tests for Gemini 3.7 Flash tier routing, upstream resolution, thinking level mapping, and MITM model extraction.

Changes

  1. src/shared/constants/cliTools.js:
    • Added gemini-3.7-flash-high, gemini-3.7-flash-medium, and gemini-3.7-flash-low to defaultModels so they appear in the MITM tool card and model mapping interface.
  2. tests/unit/gemini-37-integration.test.js:
    • Added unit test suite validating Gemini 3.7 Flash tier transformations, thinkingLevel inclusion, MITM extraction for gemini-3.7-flash-tiered, default fallback handling, and CLI catalog synchronization.

Verification

  • Ran unit test suites with Vitest:
    • tests/unit/gemini-37-integration.test.js (PASSED)
    • tests/unit/gemini-36-integration.test.js (PASSED)
    • tests/unit/antigravity-mitm.test.js (PASSED)
    • tests/unit/antigravity-retry-hook.test.js (PASSED)
  • All 39 tests passed cleanly without regressions.

Copilot AI lite review requested due to automatic review settings August 16, 2026 17:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Gemini 3.7 Flash tiered model IDs (High/Medium/Low) to the Antigravity MITM tool defaults so they show up in the dashboard’s MITM model mapping table, and introduces a new unit test suite to validate tier routing and MITM model extraction behavior.

Changes:

  • Added gemini-3.7-flash-{high,medium,low} entries to MITM_TOOLS.antigravity.defaultModels for UI model-mapping configuration.
  • Added tests/unit/gemini-37-integration.test.js covering upstream resolution, Antigravity thinking-level mapping, MITM extraction defaults, and CLI catalog synchronization checks.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/shared/constants/cliTools.js Exposes Gemini 3.7 Flash tiered models as default MITM-mappable entries for Antigravity.
tests/unit/gemini-37-integration.test.js Validates Gemini 3.7 tier routing + thinking config behavior and confirms MITM/CLI catalog alignment.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

afandiaziz added a commit to afandiaziz/9router that referenced this pull request Aug 20, 2026
afandiaziz added a commit to afandiaziz/9router that referenced this pull request Aug 20, 2026
…/security/providers

Verified via trial-merge + per-PR tests (84 pass/0 fail), OAuth baseline
identical, providers baseline additive-only (+reasonix/ovh/joycode/openmodel).

PRs: decolua#3411 decolua#3370 decolua#3369 decolua#3368 decolua#3393 decolua#3366 decolua#3395 decolua#3382 decolua#3359 decolua#3408 decolua#3357
     decolua#3379 decolua#3380 decolua#3381 decolua#3396 decolua#3338

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants