mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
enable codebase investigator by default for preview (#12555)
This commit is contained in:
@@ -537,19 +537,19 @@ their corresponding top-level category object in your `settings.json` file.
|
|||||||
|
|
||||||
- **`experimental.codebaseInvestigatorSettings.enabled`** (boolean):
|
- **`experimental.codebaseInvestigatorSettings.enabled`** (boolean):
|
||||||
- **Description:** Enable the Codebase Investigator agent.
|
- **Description:** Enable the Codebase Investigator agent.
|
||||||
- **Default:** `false`
|
- **Default:** `true`
|
||||||
- **Requires restart:** Yes
|
- **Requires restart:** Yes
|
||||||
|
|
||||||
- **`experimental.codebaseInvestigatorSettings.maxNumTurns`** (number):
|
- **`experimental.codebaseInvestigatorSettings.maxNumTurns`** (number):
|
||||||
- **Description:** Maximum number of turns for the Codebase Investigator
|
- **Description:** Maximum number of turns for the Codebase Investigator
|
||||||
agent.
|
agent.
|
||||||
- **Default:** `15`
|
- **Default:** `10`
|
||||||
- **Requires restart:** Yes
|
- **Requires restart:** Yes
|
||||||
|
|
||||||
- **`experimental.codebaseInvestigatorSettings.maxTimeMinutes`** (number):
|
- **`experimental.codebaseInvestigatorSettings.maxTimeMinutes`** (number):
|
||||||
- **Description:** Maximum time for the Codebase Investigator agent (in
|
- **Description:** Maximum time for the Codebase Investigator agent (in
|
||||||
minutes).
|
minutes).
|
||||||
- **Default:** `5`
|
- **Default:** `3`
|
||||||
- **Requires restart:** Yes
|
- **Requires restart:** Yes
|
||||||
|
|
||||||
- **`experimental.codebaseInvestigatorSettings.thinkingBudget`** (number):
|
- **`experimental.codebaseInvestigatorSettings.thinkingBudget`** (number):
|
||||||
|
|||||||
@@ -1234,7 +1234,7 @@ const SETTINGS_SCHEMA = {
|
|||||||
label: 'Enable Codebase Investigator',
|
label: 'Enable Codebase Investigator',
|
||||||
category: 'Experimental',
|
category: 'Experimental',
|
||||||
requiresRestart: true,
|
requiresRestart: true,
|
||||||
default: false,
|
default: true,
|
||||||
description: 'Enable the Codebase Investigator agent.',
|
description: 'Enable the Codebase Investigator agent.',
|
||||||
showInDialog: true,
|
showInDialog: true,
|
||||||
},
|
},
|
||||||
@@ -1243,7 +1243,7 @@ const SETTINGS_SCHEMA = {
|
|||||||
label: 'Codebase Investigator Max Num Turns',
|
label: 'Codebase Investigator Max Num Turns',
|
||||||
category: 'Experimental',
|
category: 'Experimental',
|
||||||
requiresRestart: true,
|
requiresRestart: true,
|
||||||
default: 15,
|
default: 10,
|
||||||
description:
|
description:
|
||||||
'Maximum number of turns for the Codebase Investigator agent.',
|
'Maximum number of turns for the Codebase Investigator agent.',
|
||||||
showInDialog: true,
|
showInDialog: true,
|
||||||
@@ -1253,7 +1253,7 @@ const SETTINGS_SCHEMA = {
|
|||||||
label: 'Max Time (Minutes)',
|
label: 'Max Time (Minutes)',
|
||||||
category: 'Experimental',
|
category: 'Experimental',
|
||||||
requiresRestart: true,
|
requiresRestart: true,
|
||||||
default: 5,
|
default: 3,
|
||||||
description:
|
description:
|
||||||
'Maximum time for the Codebase Investigator agent (in minutes).',
|
'Maximum time for the Codebase Investigator agent (in minutes).',
|
||||||
showInDialog: false,
|
showInDialog: false,
|
||||||
|
|||||||
@@ -502,9 +502,9 @@ export class Config {
|
|||||||
params.enableMessageBusIntegration ??
|
params.enableMessageBusIntegration ??
|
||||||
(hooksNeedMessageBus ? true : false);
|
(hooksNeedMessageBus ? true : false);
|
||||||
this.codebaseInvestigatorSettings = {
|
this.codebaseInvestigatorSettings = {
|
||||||
enabled: params.codebaseInvestigatorSettings?.enabled ?? false,
|
enabled: params.codebaseInvestigatorSettings?.enabled ?? true,
|
||||||
maxNumTurns: params.codebaseInvestigatorSettings?.maxNumTurns ?? 15,
|
maxNumTurns: params.codebaseInvestigatorSettings?.maxNumTurns ?? 10,
|
||||||
maxTimeMinutes: params.codebaseInvestigatorSettings?.maxTimeMinutes ?? 5,
|
maxTimeMinutes: params.codebaseInvestigatorSettings?.maxTimeMinutes ?? 3,
|
||||||
thinkingBudget:
|
thinkingBudget:
|
||||||
params.codebaseInvestigatorSettings?.thinkingBudget ??
|
params.codebaseInvestigatorSettings?.thinkingBudget ??
|
||||||
DEFAULT_THINKING_MODE,
|
DEFAULT_THINKING_MODE,
|
||||||
|
|||||||
@@ -818,22 +818,22 @@
|
|||||||
"enabled": {
|
"enabled": {
|
||||||
"title": "Enable Codebase Investigator",
|
"title": "Enable Codebase Investigator",
|
||||||
"description": "Enable the Codebase Investigator agent.",
|
"description": "Enable the Codebase Investigator agent.",
|
||||||
"markdownDescription": "Enable the Codebase Investigator agent.\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `false`",
|
"markdownDescription": "Enable the Codebase Investigator agent.\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `true`",
|
||||||
"default": false,
|
"default": true,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"maxNumTurns": {
|
"maxNumTurns": {
|
||||||
"title": "Codebase Investigator Max Num Turns",
|
"title": "Codebase Investigator Max Num Turns",
|
||||||
"description": "Maximum number of turns for the Codebase Investigator agent.",
|
"description": "Maximum number of turns for the Codebase Investigator agent.",
|
||||||
"markdownDescription": "Maximum number of turns for the Codebase Investigator agent.\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `15`",
|
"markdownDescription": "Maximum number of turns for the Codebase Investigator agent.\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `10`",
|
||||||
"default": 15,
|
"default": 10,
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"maxTimeMinutes": {
|
"maxTimeMinutes": {
|
||||||
"title": "Max Time (Minutes)",
|
"title": "Max Time (Minutes)",
|
||||||
"description": "Maximum time for the Codebase Investigator agent (in minutes).",
|
"description": "Maximum time for the Codebase Investigator agent (in minutes).",
|
||||||
"markdownDescription": "Maximum time for the Codebase Investigator agent (in minutes).\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `5`",
|
"markdownDescription": "Maximum time for the Codebase Investigator agent (in minutes).\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `3`",
|
||||||
"default": 5,
|
"default": 3,
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"thinkingBudget": {
|
"thinkingBudget": {
|
||||||
|
|||||||
Reference in New Issue
Block a user