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.
This commit is contained in:
Gagan 2026-07-23 16:27:50 +05:30
parent aa235d774c
commit 3c3ae780e7

View file

@ -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<typeof ModelRef>;