Something went wrong. Try again.
Dotfiles V2 with Chezmoi
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576return {
{ "olimorris/codecompanion.nvim", dependencies = { "nvim-lua/plenary.nvim", { "franco-ruggeri/codecompanion-spinner.nvim", opts = {}, }, "viespejo/cc-adapter-vertex-ai.nvim", }, opts = { adapters = { http = { vertex_anthropic = function() return require("codecompanion.adapters").extend("vertex-anthropic", { env = { project_id = "hdm-ai-dev", region = "global", }, }) end, ["llama.cpp"] = function() return require("codecompanion.adapters").extend("openai_compatible", { env = { url = "http://127.0.0.1:8080", -- replace with your llama.cpp instance api_key = "TERM", chat_url = "/v1/chat/completions", }, }) end, }, }, interactions = { background = { adapter = "opencode", }, chat = { adapter = "opencode", }, cmd = { adapter = "opencode", }, inline = { adapter = "opencode", }, }, }, },
{ "ravitemer/mcphub.nvim", dependencies = { "nvim-lua/plenary.nvim", -- Required for Job and HTTP requests }, cmd = "MCPHub", -- lazy load by default build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration) config = function() require("mcphub").setup({ use_bundled_binary = true, 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, },}