From 4d9313407b4b584f8318829f885d46fcf390bca6 Mon Sep 17 00:00:00 2001 From: m3tam3re Date: Tue, 4 Jun 2024 12:47:41 +0200 Subject: [PATCH] ollama settings --- nvim/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/init.lua b/nvim/init.lua index fc1e8c4..85359fc 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -829,7 +829,7 @@ require('lazy').setup({ { 'David-Kunz/gen.nvim', opts = { - model = 'dolphin-mistral', -- The default model to use. + model = 'dolphin-llama3', -- The default model to use. host = 'localhost', -- The host running the Ollama service. port = '11434', -- The port on which the Ollama service is listening. display_mode = 'split', -- The display mode. Can be "float" or "split". @@ -863,6 +863,7 @@ require('lazy').setup({ extract = '```$filetype\n(.-)```', model = 'codellama:latest', } + require('gen').select_model() end, vim.keymap.set('n', 'lo', vim.cmd.Gen, { desc = '[O]llama AI' }), },