Set default tools #1282
-
There are a few tools such as {
"CopilotC-Nvim/CopilotChat.nvim",
build = "make tiktoken",
dependencies = {
{
"MeanderingProgrammer/render-markdown.nvim",
ft = { "markdown", "copilot-chat" },
},
},
opts = {
model = "gpt-4.1", -- AI model to use
tools = { "@copilot", "@neovim" },
}
} should do it but when I use chat and ask the model to read from the workspace (what I'd expect Is there a proper way to do this? Additionally, is there a way to automatically approve specific tools provided by mcphub based on the auto-approve setting in mcphub? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
For the default tools config, you need to use tool names directly, e.g without Also do not make issue for multiple requests/questions, but for auto-approval, no it is currently not planned (i personally think auto approval is dangerous and should not be an option) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
For the default tools config, you need to use tool names directly, e.g without
@
.@
is needed only when using the tools directly in prompt.Also do not make issue for multiple requests/questions, but for auto-approval, no it is currently not planned (i personally think auto approval is dangerous and should not be an option)