Updated avante
This commit is contained in:
@@ -16,16 +16,7 @@ return {
|
|||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("avante").setup({
|
require("avante").setup({
|
||||||
provider = "gemini",
|
provider = "copilot",
|
||||||
providers = {
|
|
||||||
gemini = {
|
|
||||||
endpoint = "https://generativelanguage.googleapis.com/v1beta/models",
|
|
||||||
model = "gemini-2.0-flash-exp",
|
|
||||||
timeout = 30000,
|
|
||||||
temperature = 0,
|
|
||||||
max_tokens = 8192,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
system_prompt = function()
|
system_prompt = function()
|
||||||
local hub = require("mcphub").get_hub_instance()
|
local hub = require("mcphub").get_hub_instance()
|
||||||
return hub:get_active_servers_prompt()
|
return hub:get_active_servers_prompt()
|
||||||
|
|||||||
Reference in New Issue
Block a user