mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
plugins/avante: providers migration
This commit is contained in:
parent
4795cd1446
commit
2b89add5d8
2 changed files with 76 additions and 55 deletions
|
@ -45,11 +45,15 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
settingsExample = {
|
||||
provider = "claude";
|
||||
claude = {
|
||||
endpoint = "https://api.anthropic.com";
|
||||
model = "claude-3-5-sonnet-20240620";
|
||||
temperature = 0;
|
||||
max_tokens = 4096;
|
||||
providers = {
|
||||
claude = {
|
||||
endpoint = "https://api.anthropic.com";
|
||||
model = "claude-3-5-sonnet-20240620";
|
||||
extra_request_body = {
|
||||
temperature = 0;
|
||||
max_tokens = 4096;
|
||||
};
|
||||
};
|
||||
};
|
||||
mappings = {
|
||||
diff = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue