feat: Add option to disable auto-adding current file when opening new chat (#2764)
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,6 +500,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
|
||||
support_paste_from_clipboard = false,
|
||||
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.
|
||||
auto_add_current_file = true, -- Whether to automatically add the current file when opening a new chat. Default to true.
|
||||
auto_approve_tool_permissions = true, -- Default: auto-approve all tools (no prompts)
|
||||
-- Examples:
|
||||
-- auto_approve_tool_permissions = false, -- Show permission prompts for all tools
|
||||
|
||||
Reference in New Issue
Block a user