refactor: configure avante for mistral and deepseek

This commit is contained in:
Dinesh Salunke 2025-04-06 14:07:00 +05:30
parent 123749b301
commit 30ead6068a

View File

@ -6,13 +6,33 @@ return {
opts = {
-- add any opts here
-- for example
provider = "openrouter",
provider = "mistral",
vendors = {
openrouter = {
mistral = {
__inherited_from = "openai",
endpoint = "https://agent-ntmomgqaacrtahpdyjsdnynx-ywn9a.ondigitalocean.app/api/v1",
endpoint = "https://agent-mql2w66kzgoopio7n6mt5n4x-h8fzy.ondigitalocean.app/api/v1/",
api_key_name = "DO_GEN_AI_API_KEY",
model = "deepseek/deepseek-r1",
timeout = 80000,
temperature = 5,
model = "mistral-nemo",
max_tokens = 4096,
reasoning_effort = "high",
},
deepseek = {
__inherited_from = "openai",
endpoint = "https://agent-mql2w66kzgoopio7n6mt5n4x-h8fzy.ondigitalocean.app/api/v1/",
api_key_name = "DO_GEN_AI_API_KEY",
timeout = 80000,
temperature = 5,
model = "deepseek-r1-distill-llama-70b",
max_tokens = 4096,
reasoning_effort = "high",
},
},
mappings = {
diff = {
ours = "<leader>co",
theirs = "<leader>ct",
},
},
},