Removing code companion

This commit is contained in:
Ian Roddis
2025-05-24 23:21:09 -03:00
parent 3cd9a1abe1
commit 4a4af24a92
-37
View File
@@ -324,15 +324,6 @@ require('lazy').setup({
}, },
}, },
-- AI coding
{
"olimorris/codecompanion.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
config = true
}
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
-- These are some example plugins that I've included in the kickstart repository. -- These are some example plugins that I've included in the kickstart repository.
-- Uncomment any of the lines below to enable them. -- Uncomment any of the lines below to enable them.
@@ -918,33 +909,5 @@ autocmd("BufWritePost", {
command = ":FormatWrite", command = ":FormatWrite",
}) })
require("codecompanion").setup({
strategies = {
chat = {
adapter = "ollama",
},
inline = {
adapter = "ollama",
},
},
adapters = {
ollama = function()
return require("codecompanion.adapters").extend("ollama", {
env = {
url = "http://192.168.203.8:11434"
-- api_key = "OLLAMA_API_KEY",
},
headers = {
["Content-Type"] = "application/json"
-- ["Authorization"] = "Bearer ${api_key}",
},
parameters = {
sync = true,
},
})
end,
},
})
-- The line beneath this is called `modeline`. See `:help modeline` -- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et