feat: add ai and tex support
This commit is contained in:
parent
4439691030
commit
9240bb4db9
7 changed files with 35 additions and 4 deletions
18
config/ai/avante.nix
Normal file
18
config/ai/avante.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
# 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue