- Update all plugins to latest stable versions - Add dynamic framework module loading based on FRAMEWORK environment variable - Support Vue.js and Python framework-specific community modules - Implement conditional AI plugin activation via DEEPSEEK_API_KEY and THIRD_PARTY_AI_ASSISTANT environment variables - Improve modularity and configurability of Neovim setup Signed-off-by: User <user@example.com>
29 lines
753 B
Lua
29 lines
753 B
Lua
if not os.getenv "DEEPSEEK_API_KEY" then return {} end
|
|
|
|
return {
|
|
{ -- further customize the options set by the community
|
|
"yetone/avante.nvim",
|
|
version = "0.0.27",
|
|
---@type avante.Config
|
|
opts = {
|
|
provider = "deepseek",
|
|
auto_suggestions_provider = "deepseek",
|
|
-- mode = "legacy",
|
|
-- behaviour = {
|
|
-- auto_apply_diff_after_generation = false,
|
|
-- auto_focus_on_diff_view = true,
|
|
-- },
|
|
providers = {
|
|
deepseek = {
|
|
__inherited_from = "openai",
|
|
api_key_name = "DEEPSEEK_API_KEY",
|
|
endpoint = "https://api.deepseek.com",
|
|
model = "deepseek-coder",
|
|
max_tokens = 8192,
|
|
-- disable_tools = true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|