From 54609d4d00ad06635f4b63874102c2e45081f273 Mon Sep 17 00:00:00 2001 From: Lorenzo Stella Date: Thu, 28 Aug 2025 12:35:30 +0200 Subject: [PATCH] Fix boolean settings in "Agent Settings" documentation page (#37068) This fixes some errors in the examples in the "Agent Settings" page at https://zed.dev/docs/ai/agent-settings#agent-settings, where strings "true" and "false" are used in place of the proper boolean JSON values: strings don't work for all those settings, and are marked as errors when editing settings.json, while booleans do work. Release Notes: - N/A --- docs/src/ai/agent-settings.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/src/ai/agent-settings.md b/docs/src/ai/agent-settings.md index ff97bcb8eeb941d2c072b95dbcc8089da927df42..d78f812e4704123be34144e84709df71474c82c0 100644 --- a/docs/src/ai/agent-settings.md +++ b/docs/src/ai/agent-settings.md @@ -131,7 +131,7 @@ The default value is `false`. ```json { "agent": { - "always_allow_tool_actions": "true" + "always_allow_tool_actions": true } } ``` @@ -146,7 +146,7 @@ The default value is `false`. ```json { "agent": { - "single_file_review": "true" + "single_file_review": true } } ``` @@ -163,7 +163,7 @@ The default value is `false`. ```json { "agent": { - "play_sound_when_agent_done": "true" + "play_sound_when_agent_done": true } } ``` @@ -179,7 +179,7 @@ The default value is `false`. ```json { "agent": { - "use_modifier_to_send": "true" + "use_modifier_to_send": true } } ``` @@ -194,7 +194,7 @@ It is set to `true` by default, but if set to false, the card's height is capped ```json { "agent": { - "expand_edit_card": "false" + "expand_edit_card": false } } ``` @@ -207,7 +207,7 @@ It is set to `true` by default, but if set to false, the card will be fully coll ```json { "agent": { - "expand_terminal_card": "false" + "expand_terminal_card": false } } ``` @@ -220,7 +220,7 @@ The default value is `true`. ```json { "agent": { - "enable_feedback": "false" + "enable_feedback": false } } ```