added some keybinds for telescope. Still working on

codecompanion
This commit is contained in:
venus
2026-06-19 13:59:12 -05:00
parent 976501e9d8
commit d04ef25170
4 changed files with 31 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ return {
adapter = "gemini_pro", -- Removed the curly braces
},
inline = {
adapter = "gemini_flash", -- Removed the curly braces
adapter = "ollama_coder", -- Removed the curly braces
},
},
background = {
@@ -57,13 +57,24 @@ return {
},
})
end,
-- local ollama coding model
ollama_coder = function()
return require("codecompanion.adapters").extend("ollama", {
name = "ollama_bg",
schema = {
model = {
default = "qwen2.5-coder:7b",
},
},
})
end,
-- Added an extended Ollama adapter to fix your background task
ollama_bg = function()
return require("codecompanion.adapters").extend("ollama", {
name = "ollama_bg",
schema = {
model = {
default = "qwen-7b-instruct",
default = "qwen3.5:4b",
},
},
})