Update avante config
This commit is contained in:
parent
a3c0931739
commit
69f9e3d5b4
|
|
@ -2,15 +2,22 @@ return {
|
||||||
'yetone/avante.nvim',
|
'yetone/avante.nvim',
|
||||||
event = 'VeryLazy',
|
event = 'VeryLazy',
|
||||||
version = false, -- Never set this value to "*"! Never!
|
version = false, -- Never set this value to "*"! Never!
|
||||||
|
---@module 'avante'
|
||||||
|
---@type avante.Config
|
||||||
opts = {
|
opts = {
|
||||||
-- add any opts here
|
-- add any opts here
|
||||||
-- for example
|
-- for example
|
||||||
provider = 'claude',
|
provider = 'claude',
|
||||||
claude = {
|
providers = {
|
||||||
endpoint = 'https://api.anthropic.com',
|
claude = {
|
||||||
model = 'claude-3-5-sonnet-20241022',
|
endpoint = 'https://api.anthropic.com',
|
||||||
temperature = 0,
|
model = 'claude-sonnet-4-20250514',
|
||||||
max_tokens = 4096,
|
timeout = 30000,
|
||||||
|
extra_request_body = {
|
||||||
|
temperature = 0.75,
|
||||||
|
max_tokens = 20480,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue