Skip to content

Commit be36bf6

Browse files
fix(patch): cherry-pick 36feb73 to release/v0.13.0-preview.2-pr-12658 to patch version v0.13.0-preview.2 and create version 0.13.0-preview.3 (#12663)
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
1 parent 37670fe commit be36bf6

5 files changed

Lines changed: 8 additions & 9 deletions

File tree

docs/get-started/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ their corresponding top-level category object in your `settings.json` file.
467467

468468
- **`useWriteTodos`** (boolean):
469469
- **Description:** Enable the write_todos_list tool.
470-
- **Default:** `true`
470+
- **Default:** `false`
471471

472472
#### `security`
473473

docs/tools/todos.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ This document describes the `write_todos` tool for the Gemini CLI.
66

77
The `write_todos` tool allows the Gemini agent to create and manage a list of
88
subtasks for complex user requests. This provides you, the user, with greater
9-
visibility into the agent's plan and its current progress. It also helps with
10-
alignment where the agent is less likely to lose track of its current goal.
9+
visibility into the agent's plan and its current progress.
1110

1211
### Arguments
1312

@@ -50,8 +49,8 @@ write_todos({
5049

5150
## Important notes
5251

53-
- **Enabling:** This tool is enabled by default. You can disable it in your
54-
`settings.json` file by setting `"useWriteTodos": false`.
52+
- **Enabling:** This tool is disabled by default. To use it, you must enable it
53+
in your `settings.json` file by setting `"useWriteTodos": true`.
5554

5655
- **Intended Use:** This tool is primarily used by the agent for complex,
5756
multi-turn tasks. It is generally not used for simple, single-turn questions.

packages/cli/src/config/settingsSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ const SETTINGS_SCHEMA = {
10471047
label: 'Use Write Todos',
10481048
category: 'Advanced',
10491049
requiresRestart: false,
1050-
default: true,
1050+
default: false,
10511051
description: 'Enable the write_todos_list tool.',
10521052
showInDialog: false,
10531053
},

packages/core/src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ export class Config {
494494
params.truncateToolOutputLines ?? DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES;
495495
this.enableToolOutputTruncation = params.enableToolOutputTruncation ?? true;
496496
this.useSmartEdit = params.useSmartEdit ?? true;
497-
this.useWriteTodos = params.useWriteTodos ?? true;
497+
this.useWriteTodos = params.useWriteTodos ?? false;
498498
this.initialUseModelRouter = params.useModelRouter ?? false;
499499
this.useModelRouter = this.initialUseModelRouter;
500500
this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? [];

schemas/settings.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,8 @@
675675
"useWriteTodos": {
676676
"title": "Use Write Todos",
677677
"description": "Enable the write_todos_list tool.",
678-
"markdownDescription": "Enable the write_todos_list tool.\n\n- Category: `Advanced`\n- Requires restart: `no`\n- Default: `true`",
679-
"default": true,
678+
"markdownDescription": "Enable the write_todos_list tool.\n\n- Category: `Advanced`\n- Requires restart: `no`\n- Default: `false`",
679+
"default": false,
680680
"type": "boolean"
681681
},
682682
"security": {

0 commit comments

Comments
 (0)