feat: cursor planning mode enabled by default (#1316)

This commit is contained in:
yetone
2025-02-20 13:06:17 +08:00
committed by GitHub
parent 2991ca69a0
commit 5b006624e6
4 changed files with 12 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ local M = {}
M._defaults = {
debug = false,
---@alias Provider "claude" | "openai" | "azure" | "gemini" | "vertex" | "cohere" | "copilot" | string
provider = "claude", -- Only recommend using Claude
provider = "claude",
-- WARNING: Since auto-suggestions are a high-frequency operation and therefore expensive,
-- 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`.
@@ -253,7 +253,7 @@ M._defaults = {
support_paste_from_clipboard = false,
minimize_diff = true,
enable_token_counting = true,
enable_cursor_planning_mode = false,
enable_cursor_planning_mode = true,
},
history = {
max_tokens = 4096,