Xinqi Bao's Git
projects
/
dotfiles.git
/ blob
summary
|
log
|
commit
|
diff
|
tree
history
|
raw
|
HEAD
add avante.nvim and its config
[dotfiles.git]
/
.config
/
nvim
/
lua
/
plugin-config
/
nvim-avante.lua
1
require('avante_lib').load()
2
require('avante').setup({
3
provider = "claude",
4
providers = {
5
claude = {
6
endpoint = "https://api.anthropic.com",
7
model = "claude-sonnet-4-20250514",
8
timeout = 30000, -- Timeout in milliseconds
9
extra_request_body = {
10
temperature = 0.75,
11
max_tokens = 20480,
12
},
13
},
14
},
15
})