fix(providers): limit Gemini CLI to legacy OAuth refresh (#8275)

#8232 correctly targeted OAuth auto-refresh for legacy stored Gemini CLI connections, but exceeded that compatibility goal by recreating a complete routable and UI-visible provider with an Antigravity model catalog.

Preserve legacy refresh by mapping gemini-cli rows to the existing Gemini OAuth credentials. Remove the public provider registry, OAuth preset, model routing snapshot, and canonical-provider tests while keeping Gemini API and Antigravity unchanged.
This commit is contained in:
backryun
2026-07-23 21:50:49 +09:00
committed by GitHub
parent 1110f9ca5f
commit 2f65339378
8 changed files with 118 additions and 242 deletions

View File

@@ -104,15 +104,6 @@ export const OAUTH_PROVIDERS = {
subscriptionRisk: true,
riskNoticeVariant: "oauth",
},
"gemini-cli": {
id: "gemini-cli",
alias: undefined,
name: "Gemini CLI",
icon: "rocket_launch",
color: "#F59E0B",
subscriptionRisk: true,
riskNoticeVariant: "oauth",
},
codex: {
id: "codex",
alias: "cx",