Revert "Enable WriteTodos tool by default (#12500)" (#12658)

This commit is contained in:
Sandy Tao
2025-11-06 12:21:53 -08:00
committed by GitHub
parent 77614eff5b
commit 36feb73bfd
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -481,7 +481,7 @@ their corresponding top-level category object in your `settings.json` file.
- **`useWriteTodos`** (boolean): - **`useWriteTodos`** (boolean):
- **Description:** Enable the write_todos_list tool. - **Description:** Enable the write_todos_list tool.
- **Default:** `true` - **Default:** `false`
#### `security` #### `security`
+3 -4
View File
@@ -6,8 +6,7 @@ This document describes the `write_todos` tool for the Gemini CLI.
The `write_todos` tool allows the Gemini agent to create and manage a list of The `write_todos` tool allows the Gemini agent to create and manage a list of
subtasks for complex user requests. This provides you, the user, with greater subtasks for complex user requests. This provides you, the user, with greater
visibility into the agent's plan and its current progress. It also helps with visibility into the agent's plan and its current progress.
alignment where the agent is less likely to lose track of its current goal.
### Arguments ### Arguments
@@ -50,8 +49,8 @@ write_todos({
## Important notes ## Important notes
- **Enabling:** This tool is enabled by default. You can disable it in your - **Enabling:** This tool is disabled by default. To use it, you must enable it
`settings.json` file by setting `"useWriteTodos": false`. in your `settings.json` file by setting `"useWriteTodos": true`.
- **Intended Use:** This tool is primarily used by the agent for complex, - **Intended Use:** This tool is primarily used by the agent for complex,
multi-turn tasks. It is generally not used for simple, single-turn questions. multi-turn tasks. It is generally not used for simple, single-turn questions.
+1 -1
View File
@@ -1080,7 +1080,7 @@ const SETTINGS_SCHEMA = {
label: 'Use Write Todos', label: 'Use Write Todos',
category: 'Advanced', category: 'Advanced',
requiresRestart: false, requiresRestart: false,
default: true, default: false,
description: 'Enable the write_todos_list tool.', description: 'Enable the write_todos_list tool.',
showInDialog: false, showInDialog: false,
}, },
+1 -1
View File
@@ -499,7 +499,7 @@ export class Config {
params.truncateToolOutputLines ?? DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES; params.truncateToolOutputLines ?? DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES;
this.enableToolOutputTruncation = params.enableToolOutputTruncation ?? true; this.enableToolOutputTruncation = params.enableToolOutputTruncation ?? true;
this.useSmartEdit = params.useSmartEdit ?? true; this.useSmartEdit = params.useSmartEdit ?? true;
this.useWriteTodos = params.useWriteTodos ?? true; this.useWriteTodos = params.useWriteTodos ?? false;
this.initialUseModelRouter = params.useModelRouter ?? false; this.initialUseModelRouter = params.useModelRouter ?? false;
this.useModelRouter = this.initialUseModelRouter; this.useModelRouter = this.initialUseModelRouter;
this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? []; this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? [];
+2 -2
View File
@@ -939,8 +939,8 @@
"useWriteTodos": { "useWriteTodos": {
"title": "Use Write Todos", "title": "Use Write Todos",
"description": "Enable the write_todos_list tool.", "description": "Enable the write_todos_list tool.",
"markdownDescription": "Enable the write_todos_list tool.\n\n- Category: `Advanced`\n- Requires restart: `no`\n- Default: `true`", "markdownDescription": "Enable the write_todos_list tool.\n\n- Category: `Advanced`\n- Requires restart: `no`\n- Default: `false`",
"default": true, "default": false,
"type": "boolean" "type": "boolean"
}, },
"security": { "security": {