Variable GEMINI_MODELSConst
GEMINI_MODELS: {
PRO_2_5: string;
FLASH_2_5: string;
FLASH_2_0: "gemini-2.0-flash";
PRO_1_5: "gemini-1.5-pro";
FLASH_1_5: "gemini-1.5-flash";
} = ...
Type Declaration
ReadonlyPRO_2_5: string
ReadonlyFLASH_2_5: string
ReadonlyFLASH_2_0: "gemini-2.0-flash"
ReadonlyPRO_1_5: "gemini-1.5-pro"
ReadonlyFLASH_1_5: "gemini-1.5-flash"
Supported Gemini model identifiers.
Current models (2.5+ and 3.x) derive from
config/in-tree-data.ts(single source of truth — #2200 Child 2). Legacy 1.5 / 2.0 strings remain as constants for backward compat with external consumers; they are not in the canonical registry because Google deprecated those generations upstream in 2025.