configure some AI agents
parent
9f8d2f1019
commit
b903bc371f
@ -1,11 +0,0 @@
|
|||||||
return {
|
|
||||||
-- {
|
|
||||||
-- 'CopilotC-Nvim/CopilotChat.nvim',
|
|
||||||
-- dependencies = {
|
|
||||||
-- { 'zbirenbaum/copilot.lua' }, -- or zbirenbaum/copilot.lua
|
|
||||||
-- { 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
|
|
||||||
-- },
|
|
||||||
-- build = 'make tiktoken', -- Only on MacOS or Linux
|
|
||||||
-- opts = {},
|
|
||||||
-- },
|
|
||||||
}
|
|
@ -0,0 +1,23 @@
|
|||||||
|
return {
|
||||||
|
-- {
|
||||||
|
-- 'CopilotC-Nvim/CopilotChat.nvim',
|
||||||
|
-- dependencies = {
|
||||||
|
-- -- { 'zbirenbaum/copilot.lua' }, -- or zbirenbaum/copilot.lua
|
||||||
|
-- { 'github/copilot.vim' },
|
||||||
|
-- { 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
|
||||||
|
-- },
|
||||||
|
-- build = 'make tiktoken', -- Only on MacOS or Linux
|
||||||
|
-- opts = {},
|
||||||
|
-- -- config = function()
|
||||||
|
-- -- require('copilot').setup {
|
||||||
|
-- -- suggestion = {
|
||||||
|
-- -- enabled = false,
|
||||||
|
-- -- auto_trigger = true,
|
||||||
|
-- -- keymap = {
|
||||||
|
-- -- accept = '<Tab>',
|
||||||
|
-- -- },
|
||||||
|
-- -- },
|
||||||
|
-- -- }
|
||||||
|
-- -- end,
|
||||||
|
-- },
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
return {
|
||||||
|
'ravitemer/mcphub.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-lua/plenary.nvim', -- Required for Job and HTTP requests
|
||||||
|
},
|
||||||
|
-- uncomment the following line to load hub lazily
|
||||||
|
--cmd = "MCPHub", -- lazy load
|
||||||
|
build = 'npm install -g mcp-hub@latest', -- Installs required mcp-hub npm module
|
||||||
|
-- uncomment this if you don't want mcp-hub to be available globally or can't use -g
|
||||||
|
-- build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration)
|
||||||
|
config = function()
|
||||||
|
require('mcphub').setup {
|
||||||
|
extensions = {
|
||||||
|
codecompanion = {
|
||||||
|
-- Show the mcp tool result in the chat buffer
|
||||||
|
show_result_in_chat = true,
|
||||||
|
-- Make chat #variables from MCP server resources
|
||||||
|
make_vars = true,
|
||||||
|
-- Create slash commands for prompts
|
||||||
|
make_slash_commands = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
}
|
Loading…
Reference in New Issue