Fix auto_approve_tool_permissions documentation to match default value (#2757)
Co-authored-by: yetone <1206493+yetone@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -500,9 +500,9 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
|
|||||||
support_paste_from_clipboard = false,
|
support_paste_from_clipboard = false,
|
||||||
minimize_diff = true, -- Whether to remove unchanged lines when applying a code block
|
minimize_diff = true, -- Whether to remove unchanged lines when applying a code block
|
||||||
enable_token_counting = true, -- Whether to enable token counting. Default to true.
|
enable_token_counting = true, -- Whether to enable token counting. Default to true.
|
||||||
auto_approve_tool_permissions = false, -- Default: show permission prompts for all tools
|
auto_approve_tool_permissions = true, -- Default: auto-approve all tools (no prompts)
|
||||||
-- Examples:
|
-- Examples:
|
||||||
-- auto_approve_tool_permissions = true, -- Auto-approve all tools (no prompts)
|
-- auto_approve_tool_permissions = false, -- Show permission prompts for all tools
|
||||||
-- auto_approve_tool_permissions = {"bash", "replace_in_file"}, -- Auto-approve specific tools only
|
-- auto_approve_tool_permissions = {"bash", "replace_in_file"}, -- Auto-approve specific tools only
|
||||||
},
|
},
|
||||||
prompt_logger = { -- logs prompts to disk (timestamped, for replay/debugging)
|
prompt_logger = { -- logs prompts to disk (timestamped, for replay/debugging)
|
||||||
|
|||||||
@@ -510,7 +510,7 @@ M._defaults = {
|
|||||||
use_cwd_as_project_root = false,
|
use_cwd_as_project_root = false,
|
||||||
auto_focus_on_diff_view = false,
|
auto_focus_on_diff_view = false,
|
||||||
---@type boolean | string[] -- true: auto-approve all tools, false: normal prompts, string[]: auto-approve specific tools by name
|
---@type boolean | string[] -- true: auto-approve all tools, false: normal prompts, string[]: auto-approve specific tools by name
|
||||||
auto_approve_tool_permissions = true, -- Default: show permission prompts for all tools
|
auto_approve_tool_permissions = true, -- Default: auto-approve all tools (no prompts)
|
||||||
auto_check_diagnostics = true,
|
auto_check_diagnostics = true,
|
||||||
enable_fastapply = false,
|
enable_fastapply = false,
|
||||||
include_generated_by_commit_line = false, -- Controls if 'Generated-by: <provider/model>' line is added to git commit message
|
include_generated_by_commit_line = false, -- Controls if 'Generated-by: <provider/model>' line is added to git commit message
|
||||||
|
|||||||
Reference in New Issue
Block a user