From 3c3ae780e7d4ec05ae58c5dcf18125854154d813 Mon Sep 17 00:00:00 2001 From: Gagan Date: Thu, 23 Jul 2026 16:27:50 +0530 Subject: [PATCH] fix(x): gateway chat titles use 3.1-flash-lite The gateway allowlist has no google/gemini-3.5-flash-lite (only 3.1-flash-lite and full 3.5-flash), so signed-in title calls 403'd 'Model not allowed' and silently kept the placeholder. --- apps/x/packages/core/src/models/defaults.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/x/packages/core/src/models/defaults.ts b/apps/x/packages/core/src/models/defaults.ts index dc704367..aa9453b0 100644 --- a/apps/x/packages/core/src/models/defaults.ts +++ b/apps/x/packages/core/src/models/defaults.ts @@ -14,7 +14,9 @@ const SIGNED_IN_DEFAULT_PROVIDER = "rowboat"; const SIGNED_IN_KG_MODEL = "google/gemini-3.1-flash-lite"; const SIGNED_IN_LIVE_NOTE_AGENT_MODEL = "google/gemini-3.1-flash-lite"; const SIGNED_IN_AUTO_PERMISSION_DECISION_MODEL = "google/gemini-3.1-flash-lite"; -const SIGNED_IN_CHAT_TITLE_MODEL = "google/gemini-3.5-flash-lite"; +// 3.5-flash-lite is not on the gateway allowlist (only 3.1-flash-lite and +// full 3.5-flash are) — the gateway 403s "Model not allowed" otherwise. +const SIGNED_IN_CHAT_TITLE_MODEL = "google/gemini-3.1-flash-lite"; export type ModelSelection = z.infer;