mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 09:18:35 +02:00
feat: avante.nvim - auto_suggestion
This commit is contained in:
@@ -28,6 +28,14 @@ return {
|
|||||||
model = "deepseek-chat",
|
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`
|
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
||||||
build = "make",
|
build = "make",
|
||||||
|
|||||||
Reference in New Issue
Block a user