From e2eb4ef29d6c87f45081b11252cd74149d6d6e9b Mon Sep 17 00:00:00 2001 From: Chris Staley Date: Mon, 30 Mar 2026 15:23:34 -0600 Subject: [PATCH] fix: address PR #831 review feedback - Update DEFAULT_PRICING key from 'gc' to 'gemini-cli' so pricing lookups work with the new alias - Restore gc -> gemini-cli in FALLBACK_ALIAS_TO_PROVIDER for backward compatibility (existing saved configs with gc/ prefix still resolve) --- src/app/api/v1/models/catalog.ts | 1 + src/shared/constants/pricing.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/api/v1/models/catalog.ts b/src/app/api/v1/models/catalog.ts index 5aeebeb20c..3be16b456e 100644 --- a/src/app/api/v1/models/catalog.ts +++ b/src/app/api/v1/models/catalog.ts @@ -25,6 +25,7 @@ const FALLBACK_ALIAS_TO_PROVIDER = { cl: "cline", cu: "cursor", cx: "codex", + gc: "gemini-cli", gh: "github", if: "iflow", kc: "kilocode", diff --git a/src/shared/constants/pricing.ts b/src/shared/constants/pricing.ts index 10fcff078e..a07ee45a52 100644 --- a/src/shared/constants/pricing.ts +++ b/src/shared/constants/pricing.ts @@ -189,8 +189,8 @@ export const DEFAULT_PRICING = { }, }, - // Gemini CLI (gc) - gc: { + // Gemini CLI + "gemini-cli": { "gemini-3-flash-preview": { input: 0.5, output: 3.0,