diff --git a/nvim/lua/plugins/plugins.lua b/nvim/lua/plugins/plugins.lua index fe6812e..41a9d7b 100644 --- a/nvim/lua/plugins/plugins.lua +++ b/nvim/lua/plugins/plugins.lua @@ -336,7 +336,28 @@ return { { "robitx/gp.nvim", opts = { + agents = { + { + provider = "ollama", + name = "warhammer", + chat = true, + command = false, + -- string with model name or table with model name and parameters + model = { + model = "llama3", + temperature = 0.6, + top_p = 1, + min_p = 0.05, + }, + -- system prompt (use this to specify the persona/role of the AI) + system_prompt = "You are a general AI assistant.", + }, + }, + providers = { + ollama = { + endpoint = "http://localhost:11434/v1/chat/completions", + }, openai = { endpoint = "https://api.openai.com/v1/chat/completions", secret = {