added a keymap to toggel the chat buffer for code companion <leader>mt. I think I will make the letter m from normal mode the conduit into code companion keymaps since it was unoccupied
This commit is contained in:
@@ -5,6 +5,9 @@ return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
config = {
|
||||
-- keymaps = {
|
||||
--
|
||||
-- }
|
||||
prompt_library = {
|
||||
['prompt2prompt'] = {
|
||||
strategy = 'chat',
|
||||
@@ -22,6 +25,22 @@ return {
|
||||
},
|
||||
},
|
||||
adapters = {
|
||||
codellama = function()
|
||||
return require('codecompanion.adapters').extend('ollama', {
|
||||
name = 'codellama', -- Give this adapter a different name to differentiate it from the default ollama adapter
|
||||
schema = {
|
||||
model = {
|
||||
default = 'codellama',
|
||||
},
|
||||
-- num_ctx = {
|
||||
-- default = 16384,
|
||||
-- },
|
||||
-- num_predict = {
|
||||
-- default = -1,
|
||||
-- },
|
||||
},
|
||||
})
|
||||
end,
|
||||
llama3 = function()
|
||||
return require('codecompanion.adapters').extend('ollama', {
|
||||
name = 'llama3', -- Give this adapter a different name to differentiate it from the default ollama adapter
|
||||
@@ -57,10 +76,10 @@ return {
|
||||
},
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = 'deepseekr1',
|
||||
adapter = 'codellama',
|
||||
},
|
||||
inline = {
|
||||
adapter = 'deepseekr1',
|
||||
adapter = 'codellama',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user