wip: fix mpchub tool integration configs
This commit is contained in:
parent
48ee2d8c65
commit
9cce1fb0b0
@ -706,9 +706,8 @@ require('avante').setup ({
|
||||
behavior = {
|
||||
enable_cursor_planning_mode = true,
|
||||
},
|
||||
--system_prompt = hub_instance:get_active_servers_prompt(),
|
||||
-- Using function prevents requiring mcphub before it's loaded
|
||||
custom_tools = require("mcphub.extensions.avante").mcp_tool(),
|
||||
system_prompt = hub_instance and hub_instance:get_active_servers_prompt() or "",
|
||||
custom_tools = { require("mcphub.extensions.avante").mcp_tool() },
|
||||
-- Disable these because we'll use the mcphub versions instead
|
||||
disabled_tools = {
|
||||
"list_files", -- Built-in file operations
|
||||
|
Loading…
x
Reference in New Issue
Block a user