feat: cursor planning mode (#1289)

This commit is contained in:
yetone
2025-02-17 18:49:29 +08:00
committed by GitHub
parent b6ae4dfe7f
commit b21d2632d3
10 changed files with 429 additions and 31 deletions

View File

@@ -21,6 +21,7 @@ M._defaults = {
-- currently designating it as `copilot` provider is dangerous because: https://github.com/yetone/avante.nvim/issues/1048
-- Of course, you can reduce the request frequency by increasing `suggestion.debounce`.
auto_suggestions_provider = "claude",
cursor_applying_provider = nil,
---@alias Tokenizer "tiktoken" | "hf"
-- Used for counting tokens and encoding text.
-- By default, we will use tiktoken.
@@ -248,6 +249,7 @@ M._defaults = {
support_paste_from_clipboard = false,
minimize_diff = true,
enable_token_counting = true,
enable_cursor_planning_mode = false,
},
history = {
max_tokens = 4096,