ollama setup for neovim
This commit is contained in:
parent
e49b11da27
commit
88ab0c75e4
4 changed files with 58 additions and 12 deletions
|
|
@ -1,7 +1,10 @@
|
|||
require("ollama").setup({
|
||||
model = "codellama",
|
||||
url = "http://ollama.ollama.svc.k8s.barakmich.com",
|
||||
serve = {
|
||||
on_start = false,
|
||||
},
|
||||
model = "codellama:34b",
|
||||
url = "http://daystrom.home.0b100.net:11434",
|
||||
serve = {
|
||||
on_start = false,
|
||||
},
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<Leader>,,", ":<c-u>lua require('ollama').prompt()<cr>", { silent = true })
|
||||
vim.keymap.set("v", "<Leader>,,", ":<c-u>lua require('ollama').prompt()<cr>", { silent = true })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue