feat: ensure codebase investigator uses preview model when main agent does

This commit is contained in:
Abhi
2025-12-02 18:22:52 -05:00
committed by Tommaso Sciortino
parent 9b571d42b1
commit 6d13e0b3a2
8 changed files with 59 additions and 13 deletions

View File

@@ -18,8 +18,8 @@ import type {
import {
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
DEFAULT_GEMINI_MODEL,
DEFAULT_MODEL_CONFIGS,
GEMINI_MODEL_ALIAS_PRO,
} 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_PRO,
description:
'The model to use for the Codebase Investigator agent.',
showInDialog: false,