nixvim/config/ai/avante.nix

18 lines
380 B
Nix

# Cursor like ai driven code suggestions
{ ... }:
{
plugins.avante = {
enable = true;
settings = {
provider = "openai";
auto_suggestions_provider = "openai";
openai = {
endpoint = "https://api.deepseek.com/v1";
model = "deepseek-chat";
timeout = 30000;
temperature = 0;
max_tokens = 4096;
};
};
};
}