feat: replace gemini-3-pro-image with gemini-3.1-flash-image

- Add migration 060 to update model_mapping for all antigravity accounts
- Remove gemini-3-pro-image and gemini-3-pro-image-preview mappings
- Add gemini-3.1-flash-image and gemini-3.1-flash-image-preview mappings
- Update frontend usage window to show GImage for new model
- Update isImageGenerationModel to support new model
This commit is contained in:
erio
2026-02-27 09:30:44 +08:00
parent 29759721e0
commit a6f9f9f968
10 changed files with 66 additions and 14 deletions

View File

@@ -864,8 +864,8 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin
}
}
},
'gemini-3-pro-image': {
name: 'Gemini 3 Pro (Image)',
'gemini-3.1-flash-image': {
name: 'Gemini 3.1 Flash Image',
limit: {
context: 1048576,
output: 65536