forked from dineshsalunke/nvim-config
refactor: configure avante for mistral and deepseek
This commit is contained in:
parent
123749b301
commit
30ead6068a
@ -6,13 +6,33 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
-- add any opts here
|
-- add any opts here
|
||||||
-- for example
|
-- for example
|
||||||
provider = "openrouter",
|
provider = "mistral",
|
||||||
vendors = {
|
vendors = {
|
||||||
openrouter = {
|
mistral = {
|
||||||
__inherited_from = "openai",
|
__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",
|
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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user