plugins/avante: providers migration

This commit is contained in:
Austin Horstman 2025-06-10 19:38:00 -05:00
parent 4795cd1446
commit 2b89add5d8
No known key found for this signature in database
2 changed files with 76 additions and 55 deletions

View file

@ -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 = {