ollama GP agent
This commit is contained in:
parent
ed553c4d51
commit
dc0851b356
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user