added more capabilities to my nvim setup
This commit is contained in:
@@ -44,7 +44,7 @@ return {
|
||||
opts = {
|
||||
-- Default provider (switch with :AvanteProvider command)
|
||||
-- Options: "claude", "openai", "azure", "gemini", "copilot", "cohere"
|
||||
provider = "claude",
|
||||
provider = "openai",
|
||||
|
||||
-- Provider configurations
|
||||
providers = {
|
||||
@@ -59,7 +59,7 @@ return {
|
||||
},
|
||||
openai = {
|
||||
endpoint = "https://api.openai.com/v1",
|
||||
model = "gpt-4o",
|
||||
model = "gpt-4o-mini",
|
||||
timeout = 30000,
|
||||
extra_request_body = {
|
||||
temperature = 0.75,
|
||||
@@ -193,4 +193,21 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
cmd = "Copilot",
|
||||
event = "InsertEnter",
|
||||
opts = {
|
||||
suggestion = {
|
||||
enabled = true,
|
||||
auto_trigger = true,
|
||||
keymap = {
|
||||
accept = "<C-l>",
|
||||
next = "<C-n>",
|
||||
prev = "<C-p>",
|
||||
},
|
||||
},
|
||||
panel = { enabled = false },
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user