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
5d95e597
Commit
5d95e597
authored
Feb 25, 2026
by
cagedbird043
Browse files
fix(admin): 补全 antigravity 测试连接下拉框的 Gemini 模型列表
parent
01d084bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/handler/admin/account_handler.go
View file @
5d95e597
...
...
@@ -1480,6 +1480,10 @@ func (h *AccountHandler) GetAvailableModels(c *gin.Context) {
// 添加 Gemini 3 系列模型用于测试
geminiTestModels
:=
[]
UnifiedModel
{
{
ID
:
"gemini-3-flash"
,
Type
:
"model"
,
DisplayName
:
"Gemini 3 Flash"
},
{
ID
:
"gemini-3-pro-low"
,
Type
:
"model"
,
DisplayName
:
"Gemini 3 Pro Low"
},
{
ID
:
"gemini-3-pro-high"
,
Type
:
"model"
,
DisplayName
:
"Gemini 3 Pro High"
},
{
ID
:
"gemini-3.1-pro-low"
,
Type
:
"model"
,
DisplayName
:
"Gemini 3.1 Pro Low"
},
{
ID
:
"gemini-3.1-pro-high"
,
Type
:
"model"
,
DisplayName
:
"Gemini 3.1 Pro High"
},
{
ID
:
"gemini-3-pro-preview"
,
Type
:
"model"
,
DisplayName
:
"Gemini 3 Pro Preview"
},
}
models
=
append
(
models
,
geminiTestModels
...
)
...
...
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