docs: update notes on auto_suggestions (#1114)

This commit is contained in:
Aaron Pham 2025-01-21 23:00:19 -05:00 committed by GitHub
parent eaf51492d4
commit 396840a152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,7 +213,6 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
{ {
---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | "copilot" | string ---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | "copilot" | string
provider = "claude", -- Recommend using Claude provider = "claude", -- Recommend using Claude
auto_suggestions_provider = "claude", -- Since auto-suggestions are a high-frequency operation and therefore expensive, it is recommended to specify an inexpensive provider or even a free provider: copilot
claude = { claude = {
endpoint = "https://api.anthropic.com", endpoint = "https://api.anthropic.com",
model = "claude-3-5-sonnet-20241022", model = "claude-3-5-sonnet-20241022",
@ -237,7 +236,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
timeout = 60000, -- Timeout in milliseconds timeout = 60000, -- Timeout in milliseconds
}, },
behaviour = { behaviour = {
auto_suggestions = false, -- Experimental stage auto_suggestions = false, -- Experimental stage, currently not working as expected
auto_set_highlight_group = true, auto_set_highlight_group = true,
auto_set_keymaps = true, auto_set_keymaps = true,
auto_apply_diff_after_generation = false, auto_apply_diff_after_generation = false,