From ac86a3371ed4ac34094e177695ba8d3241d7f4db Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 21 Feb 2025 00:29:46 +0800 Subject: [PATCH] fix: default disable cursor planning mode (#1327) --- README.md | 2 +- lua/avante/config.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 996aa94..54da2b4 100644 --- a/README.md +++ b/README.md @@ -297,7 +297,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. - 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 = { --- @class AvanteConflictMappings diff --git a/lua/avante/config.lua b/lua/avante/config.lua index c996fe8..1fe9f60 100644 --- a/lua/avante/config.lua +++ b/lua/avante/config.lua @@ -253,7 +253,7 @@ M._defaults = { support_paste_from_clipboard = false, minimize_diff = true, enable_token_counting = true, - enable_cursor_planning_mode = true, + enable_cursor_planning_mode = false, }, history = { max_tokens = 4096,