ollama GP agent
This commit is contained in:
parent
ed553c4d51
commit
dc0851b356
@ -336,7 +336,28 @@ return {
|
|||||||
{
|
{
|
||||||
"robitx/gp.nvim",
|
"robitx/gp.nvim",
|
||||||
opts = {
|
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 = {
|
providers = {
|
||||||
|
ollama = {
|
||||||
|
endpoint = "http://localhost:11434/v1/chat/completions",
|
||||||
|
},
|
||||||
openai = {
|
openai = {
|
||||||
endpoint = "https://api.openai.com/v1/chat/completions",
|
endpoint = "https://api.openai.com/v1/chat/completions",
|
||||||
secret = {
|
secret = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user