Revert "docs: update notes on auto_suggestions (#1114)" (#1118)

This reverts commit 396840a152be82354984b16f9a22cb425d0840d1.
This commit is contained in:
yetone 2025-01-23 11:54:38 +08:00 committed by GitHub
parent 396840a152
commit e02a21e738
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,6 +213,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
{
---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | "copilot" | string
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 = {
endpoint = "https://api.anthropic.com",
model = "claude-3-5-sonnet-20241022",
@ -236,7 +237,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
timeout = 60000, -- Timeout in milliseconds
},
behaviour = {
auto_suggestions = false, -- Experimental stage, currently not working as expected
auto_suggestions = false, -- Experimental stage
auto_set_highlight_group = true,
auto_set_keymaps = true,
auto_apply_diff_after_generation = false,