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:
Copilot
2025-10-13 11:34:44 +08:00
committed by GitHub
parent f092bb3ec0
commit 60cb63cdd2
4 changed files with 14 additions and 7 deletions

View File

@@ -360,6 +360,7 @@ _请参见 [config.lua#L9](./lua/avante/config.lua) 以获取完整配置_
support_paste_from_clipboard = false,
minimize_diff = true, -- 是否在应用代码块时删除未更改的行
enable_token_counting = true, -- 是否启用令牌计数。默认为 true。
auto_add_current_file = true, -- 打开新聊天时是否自动添加当前文件。默认为 true。
enable_cursor_planning_mode = false, -- 是否启用 Cursor 规划模式。默认为 false。
enable_claude_text_editor_tool_mode = false, -- 是否启用 Claude 文本编辑器工具模式。
},