Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
609abbbd
Unverified
Commit
609abbbd
authored
Feb 25, 2026
by
Wesley Liddick
Committed by
GitHub
Feb 25, 2026
Browse files
Merge pull request #624 from cagedbird043/pr/antigravity-gemini31-passthrough-buttons
feat: 补充 Antigravity 的 Gemini 3.1 Pro 透传快捷按钮
parents
1b4e504f
c0086495
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/composables/useModelWhitelist.ts
View file @
609abbbd
...
...
@@ -299,6 +299,8 @@ const antigravityPresetMappings = [
{
label
:
'
3-Pro-Preview→3.1-Pro-High
'
,
from
:
'
gemini-3-pro-preview
'
,
to
:
'
gemini-3.1-pro-high
'
,
color
:
'
bg-amber-100 text-amber-700 hover:bg-amber-200 dark:bg-amber-900/30 dark:text-amber-400
'
},
{
label
:
'
3-Pro-High→3.1-Pro-High
'
,
from
:
'
gemini-3-pro-high
'
,
to
:
'
gemini-3.1-pro-high
'
,
color
:
'
bg-orange-100 text-orange-700 hover:bg-orange-200 dark:bg-orange-900/30 dark:text-orange-400
'
},
{
label
:
'
3-Pro-Low→3.1-Pro-Low
'
,
from
:
'
gemini-3-pro-low
'
,
to
:
'
gemini-3.1-pro-low
'
,
color
:
'
bg-yellow-100 text-yellow-700 hover:bg-yellow-200 dark:bg-yellow-900/30 dark:text-yellow-400
'
},
{
label
:
'
3.1-Pro-High透传
'
,
from
:
'
gemini-3.1-pro-high
'
,
to
:
'
gemini-3.1-pro-high
'
,
color
:
'
bg-orange-100 text-orange-700 hover:bg-orange-200 dark:bg-orange-900/30 dark:text-orange-400
'
},
{
label
:
'
3.1-Pro-Low透传
'
,
from
:
'
gemini-3.1-pro-low
'
,
to
:
'
gemini-3.1-pro-low
'
,
color
:
'
bg-yellow-100 text-yellow-700 hover:bg-yellow-200 dark:bg-yellow-900/30 dark:text-yellow-400
'
},
// Gemini 通配符映射
{
label
:
'
Gemini 3→Flash
'
,
from
:
'
gemini-3*
'
,
to
:
'
gemini-3-flash
'
,
color
:
'
bg-yellow-100 text-yellow-700 hover:bg-yellow-200 dark:bg-yellow-900/30 dark:text-yellow-400
'
},
{
label
:
'
Gemini 2.5→Flash
'
,
from
:
'
gemini-2.5*
'
,
to
:
'
gemini-2.5-flash
'
,
color
:
'
bg-orange-100 text-orange-700 hover:bg-orange-200 dark:bg-orange-900/30 dark:text-orange-400
'
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment