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
7918fc28
Commit
7918fc28
authored
Feb 25, 2026
by
cagedbird043
Browse files
feat: 对齐 Gemini v1beta 模板模型与顺序
parent
31b30a6d
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/components/keys/UseKeyModal.vue
View file @
7918fc28
...
@@ -675,11 +675,90 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin
...
@@ -675,11 +675,90 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin
}
}
}
}
const
geminiModels
=
{
const
geminiModels
=
{
'
gemini-2.0-flash
'
:
{
name
:
'
Gemini 2.0 Flash
'
},
'
gemini-2.0-flash
'
:
{
'
gemini-2.5-flash
'
:
{
name
:
'
Gemini 2.5 Flash
'
},
name
:
'
Gemini 2.0 Flash
'
,
'
gemini-2.5-pro
'
:
{
name
:
'
Gemini 2.5 Pro
'
},
limit
:
{
'
gemini-3-flash-preview
'
:
{
name
:
'
Gemini 3 Flash Preview
'
},
context
:
1048576
,
'
gemini-3-pro-preview
'
:
{
name
:
'
Gemini 3 Pro Preview
'
}
output
:
65536
},
modalities
:
{
input
:
[
'
text
'
,
'
image
'
,
'
pdf
'
],
output
:
[
'
text
'
]
}
},
'
gemini-2.5-flash
'
:
{
name
:
'
Gemini 2.5 Flash
'
,
limit
:
{
context
:
1048576
,
output
:
65536
},
modalities
:
{
input
:
[
'
text
'
,
'
image
'
,
'
pdf
'
],
output
:
[
'
text
'
]
}
},
'
gemini-2.5-pro
'
:
{
name
:
'
Gemini 2.5 Pro
'
,
limit
:
{
context
:
2097152
,
output
:
65536
},
modalities
:
{
input
:
[
'
text
'
,
'
image
'
,
'
pdf
'
],
output
:
[
'
text
'
]
},
options
:
{
thinking
:
{
budgetTokens
:
24576
,
type
:
'
enabled
'
}
}
},
'
gemini-3-flash-preview
'
:
{
name
:
'
Gemini 3 Flash Preview
'
,
limit
:
{
context
:
1048576
,
output
:
65536
},
modalities
:
{
input
:
[
'
text
'
,
'
image
'
,
'
pdf
'
],
output
:
[
'
text
'
]
}
},
'
gemini-3-pro-preview
'
:
{
name
:
'
Gemini 3 Pro Preview
'
,
limit
:
{
context
:
1048576
,
output
:
65536
},
modalities
:
{
input
:
[
'
text
'
,
'
image
'
,
'
pdf
'
],
output
:
[
'
text
'
]
},
options
:
{
thinking
:
{
budgetTokens
:
24576
,
type
:
'
enabled
'
}
}
},
'
gemini-3.1-pro-preview
'
:
{
name
:
'
Gemini 3.1 Pro Preview
'
,
limit
:
{
context
:
1048576
,
output
:
65536
},
modalities
:
{
input
:
[
'
text
'
,
'
image
'
,
'
pdf
'
],
output
:
[
'
text
'
]
},
options
:
{
thinking
:
{
budgetTokens
:
24576
,
type
:
'
enabled
'
}
}
}
}
}
const
antigravityGeminiModels
=
{
const
antigravityGeminiModels
=
{
...
...
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