Updated to display 3 flash for preview and 2.5 for standard.

This commit is contained in:
davidapierce
2026-05-12 21:32:23 +00:00
parent b335efec1e
commit 67c3255e70

View File

@@ -100,13 +100,13 @@ export function getAutoModelDescription(
releaseChannel: string = 'stable',
useGemini3_1: boolean = false,
) {
const proModel =
releaseChannel === 'preview'
? useGemini3_1
? 'gemini-3.1-pro'
: 'gemini-3-pro'
: 'gemini-2.5-pro';
const flashModel = 'gemini-3-flash';
const isPreview = releaseChannel === 'preview';
const proModel = isPreview
? useGemini3_1
? 'gemini-3.1-pro'
: 'gemini-3-pro'
: 'gemini-2.5-pro';
const flashModel = isPreview ? 'gemini-3-flash' : 'gemini-2.5-flash';
return `Let Gemini CLI decide the best model for the task: ${proModel}, ${flashModel}`;
}