Use Preview Flash model if the main model is a preview model for code… (#83)

* Use Preview Flash model if the main model is a preview model for codebase investigator

* fix test

* Generate settings doc
This commit is contained in:
Sehoon Shon
2025-12-12 09:43:46 -05:00
committed by Tommaso Sciortino
parent af94beea11
commit 56c3daf2f5
8 changed files with 96 additions and 34 deletions

View File

@@ -19,7 +19,7 @@ import {
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
DEFAULT_MODEL_CONFIGS,
DEFAULT_GEMINI_MODEL,
GEMINI_MODEL_ALIAS_AUTO,
} from '@google/gemini-cli-core';
import type { CustomTheme } from '../ui/themes/theme.js';
import type { SessionRetentionSettings } from './settings.js';
@@ -1384,7 +1384,7 @@ const SETTINGS_SCHEMA = {
label: 'Model',
category: 'Experimental',
requiresRestart: true,
default: DEFAULT_GEMINI_MODEL,
default: GEMINI_MODEL_ALIAS_AUTO,
description:
'The model to use for the Codebase Investigator agent.',
showInDialog: false,