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
565d19ac
Unverified
Commit
565d19ac
authored
Feb 26, 2026
by
Wesley Liddick
Committed by
GitHub
Feb 26, 2026
Browse files
Merge pull request #636 from cagedbird043/pr/antigravity-gemini-3.1-models
fix(antigravity): 补全测试连接 Gemini 模型列表并新增 3.1 Pro High/Low 支持
parents
960acf19
ece91152
Changes
2
Show whitespace changes
Inline
Side-by-side
backend/internal/handler/admin/account_handler.go
View file @
565d19ac
...
...
@@ -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
...
)
...
...
backend/internal/pkg/antigravity/claude_types.go
View file @
565d19ac
...
...
@@ -161,6 +161,8 @@ var geminiModels = []modelDef{
{
ID
:
"gemini-3-flash"
,
DisplayName
:
"Gemini 3 Flash"
,
CreatedAt
:
"2025-06-01T00:00:00Z"
},
{
ID
:
"gemini-3-pro-low"
,
DisplayName
:
"Gemini 3 Pro Low"
,
CreatedAt
:
"2025-06-01T00:00:00Z"
},
{
ID
:
"gemini-3-pro-high"
,
DisplayName
:
"Gemini 3 Pro High"
,
CreatedAt
:
"2025-06-01T00:00:00Z"
},
{
ID
:
"gemini-3.1-pro-low"
,
DisplayName
:
"Gemini 3.1 Pro Low"
,
CreatedAt
:
"2026-02-19T00:00:00Z"
},
{
ID
:
"gemini-3.1-pro-high"
,
DisplayName
:
"Gemini 3.1 Pro High"
,
CreatedAt
:
"2026-02-19T00:00:00Z"
},
{
ID
:
"gemini-3-pro-preview"
,
DisplayName
:
"Gemini 3 Pro Preview"
,
CreatedAt
:
"2025-06-01T00:00:00Z"
},
{
ID
:
"gemini-3-pro-image"
,
DisplayName
:
"Gemini 3 Pro Image"
,
CreatedAt
:
"2025-06-01T00:00:00Z"
},
}
...
...
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