Update Avante config
This commit is contained in:
parent
cb90e7296c
commit
25b24b72e1
|
@ -7,7 +7,8 @@ cscale=ewa_lanczossharp
|
||||||
video-sync=display-resample
|
video-sync=display-resample
|
||||||
interpolation
|
interpolation
|
||||||
tscale=oversample
|
tscale=oversample
|
||||||
hwdec=auto
|
vo=gpu-next
|
||||||
|
gpu-api=opengl
|
||||||
force-window=yes
|
force-window=yes
|
||||||
keep-open=yes
|
keep-open=yes
|
||||||
|
|
||||||
|
|
|
@ -3,19 +3,13 @@ return {
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes.
|
version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes.
|
||||||
opts = {
|
opts = {
|
||||||
provider = "copilot",
|
providers = {
|
||||||
-- cursor_applying_provider = 'ollama',
|
|
||||||
copilot = {
|
copilot = {
|
||||||
model = "claude-3.5-sonnet"
|
model = "claude-3.5-sonnet"
|
||||||
},
|
},
|
||||||
ollama = {
|
ollama = {
|
||||||
model = "llama3.2:1b"
|
model = "llama3.2:1b"
|
||||||
},
|
},
|
||||||
behaviour = {
|
|
||||||
enable_cursor_planning_mode = false, -- enable cursor planning mode!
|
|
||||||
},
|
|
||||||
hints = { enabled = false },
|
|
||||||
vendors = {
|
|
||||||
copilot_claude_new = {
|
copilot_claude_new = {
|
||||||
__inherited_from = "copilot",
|
__inherited_from = "copilot",
|
||||||
model = "claude-3.7-sonnet",
|
model = "claude-3.7-sonnet",
|
||||||
|
@ -36,7 +30,13 @@ return {
|
||||||
__inherited_from = "copilot",
|
__inherited_from = "copilot",
|
||||||
model = "gemini-2.0-flash-001",
|
model = "gemini-2.0-flash-001",
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
|
provider = "copilot",
|
||||||
|
-- cursor_applying_provider = 'ollama',
|
||||||
|
behaviour = {
|
||||||
|
enable_cursor_planning_mode = false, -- enable cursor planning mode!
|
||||||
|
},
|
||||||
|
hints = { enabled = false },
|
||||||
},
|
},
|
||||||
-- 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`
|
||||||
build = "nix-shell -p cmake --command make",
|
build = "nix-shell -p cmake --command make",
|
||||||
|
|
|
@ -89,7 +89,8 @@ return {
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
require('blink.cmp').setup(opts)
|
require('blink.cmp').setup(opts)
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
local filetypes = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex", "quarto", "rmd", "context", "html", "xhtml", "typst", "mail" }
|
local filetypes = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex",
|
||||||
|
"quarto", "rmd", "context", "html", "xhtml", "typst", "mail" }
|
||||||
local lsp_opts = {
|
local lsp_opts = {
|
||||||
servers = {
|
servers = {
|
||||||
basedpyright = {
|
basedpyright = {
|
||||||
|
|
Loading…
Reference in New Issue