mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
fix(antigravity): passthrough tab-autocomplete + mark default agent slot mandatory
MODEL_NO_MAP guard never re-routes Antigravity tab-autocomplete (tab_* models) so latency-critical inline completion stays native. Flags gemini-3.5-flash-low (agent/Default) as mandatory in the dashboard. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
decolua
co-authored by
Cursor
parent
61d546627e
commit
38b73bfc6b
@@ -10,7 +10,12 @@ export const MITM_TOOLS = {
|
||||
mitmDomain: "daily-cloudcode-pa.googleapis.com",
|
||||
modelAliases: ["gemini-3-flash-agent", "gemini-3.5-flash-low", "gemini-3.5-flash-extra-low", "gemini-3.1-pro-low", "gemini-pro-agent", "claude-sonnet-4-6", "claude-opus-4-6-thinking", "gpt-oss-120b-medium", "gemini-3-flash"],
|
||||
defaultModels: [
|
||||
{ id: "gemini-3.5-flash-low", name: "Gemini 3.5 Flash (Medium) / Default", alias: "gemini-3.5-flash-low" },
|
||||
// `mandatory: true` on the out-of-box agent/Default model — verified via MITM dump capture:
|
||||
// Antigravity's agent loop sends `gemini-3.5-flash-low` (requestType agent/checkpoint) by
|
||||
// default. The other slots only appear when the user explicitly picks that model, so they
|
||||
// stay optional. (Tab-autocomplete uses `tab_*` models that are never re-routed — see
|
||||
// MODEL_NO_MAP in src/mitm/config.js.)
|
||||
{ id: "gemini-3.5-flash-low", name: "Gemini 3.5 Flash (Medium) / Default", alias: "gemini-3.5-flash-low", mandatory: true },
|
||||
{ id: "gemini-3-flash-agent", name: "Gemini 3.5 Flash (High)", alias: "gemini-3-flash-agent" },
|
||||
{ id: "gemini-3.5-flash-extra-low", name: "Gemini 3.5 Flash (Low)", alias: "gemini-3.5-flash-extra-low" },
|
||||
{ id: "gemini-3.1-pro-low", name: "Gemini 3.1 Pro (Low)", alias: "gemini-3.1-pro-low" },
|
||||
|
||||
Reference in New Issue
Block a user