fix(cli): migrate Gemini models to explicit antigravity- prefix for quota routing
All Gemini model references now use the `antigravity-` prefix to ensure explicit routing to Antigravity quota pools instead of relying on legacy `-preview` suffix disambiguation. This approach prevents potential breakage if Google removes the `-preview` suffix in future versions. Updates include: - config-manager: Updated Gemini model assignments with antigravity- prefix - config-manager.test.ts: Updated test assertions to match new naming convention - install.ts: Updated config summary display to show antigravity-prefixed model name Migration follows opencode-antigravity-auth plugin v1.2.7+ guidance for explicit quota routing configuration. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ function formatConfigSummary(config: InstallConfig): string {
|
||||
const sisyphusModel = config.hasClaude ? "claude-opus-4-5" : "glm-4.7-free"
|
||||
const oracleModel = config.hasChatGPT ? "gpt-5.2" : (config.hasClaude ? "claude-opus-4-5" : "glm-4.7-free")
|
||||
const librarianModel = "glm-4.7-free"
|
||||
const frontendModel = config.hasGemini ? "gemini-3-pro-high" : (config.hasClaude ? "claude-opus-4-5" : "glm-4.7-free")
|
||||
const frontendModel = config.hasGemini ? "antigravity-gemini-3-pro-high" : (config.hasClaude ? "claude-opus-4-5" : "glm-4.7-free")
|
||||
|
||||
lines.push(` ${SYMBOLS.bullet} Sisyphus ${SYMBOLS.arrow} ${color.cyan(sisyphusModel)}`)
|
||||
lines.push(` ${SYMBOLS.bullet} Oracle ${SYMBOLS.arrow} ${color.cyan(oracleModel)}`)
|
||||
|
||||
Reference in New Issue
Block a user