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