feat: avante.nvim - auto_suggestion

This commit is contained in:
Ryan Yin
2025-04-18 10:24:19 +08:00
parent 75081d1d5a
commit a60671a983

View File

@@ -28,6 +28,14 @@ return {
model = "deepseek-chat",
},
},
-- 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`.
auto_suggestions_provider = "deepseek",
suggestion = {
debounce = 750, -- wait for x ms before suggestion
throttle = 1200, -- wait for at least x ms before the next suggestion
},
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = "make",