fix: default disable cursor planning mode (#1327)

This commit is contained in:
yetone
2025-02-21 00:29:46 +08:00
committed by GitHub
parent a465c42ffa
commit ac86a3371e
2 changed files with 2 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ _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.
enable_cursor_planning_mode = true, -- Whether to enable Cursor Planning Mode. Default to true. enable_cursor_planning_mode = false, -- Whether to enable Cursor Planning Mode. Default to false.
}, },
mappings = { mappings = {
--- @class AvanteConflictMappings --- @class AvanteConflictMappings

View File

@@ -253,7 +253,7 @@ M._defaults = {
support_paste_from_clipboard = false, support_paste_from_clipboard = false,
minimize_diff = true, minimize_diff = true,
enable_token_counting = true, enable_token_counting = true,
enable_cursor_planning_mode = true, enable_cursor_planning_mode = false,
}, },
history = { history = {
max_tokens = 4096, max_tokens = 4096,