added some keybinds for telescope. Still working on
codecompanion
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user