Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions lua/gp/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,36 @@ local config = {
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = require("gp.defaults").chat_system_prompt,
},
{
provider = "openai",
name = "ChatGPT4-1",
chat = true,
command = false,
-- string with model name or table with model name and parameters
model = { model = "gpt-4.1", temperature = 1.1, top_p = 1 },
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = require("gp.defaults").chat_system_prompt,
},
{
provider = "openai",
name = "ChatGPT4-1-mini",
chat = true,
command = false,
-- string with model name or table with model name and parameters
model = { model = "gpt-4.1-mini", temperature = 1.1, top_p = 1 },
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = require("gp.defaults").chat_system_prompt,
},
{
provider = "openai",
name = "ChatGPT4-1-nano",
chat = true,
command = false,
-- string with model name or table with model name and parameters
model = { model = "gpt-4.1-nano", temperature = 1.1, top_p = 1 },
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = require("gp.defaults").chat_system_prompt,
},
{
provider = "copilot",
name = "ChatCopilot",
Expand Down Expand Up @@ -241,6 +271,36 @@ local config = {
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = "Please return ONLY code snippets.\nSTART AND END YOUR ANSWER WITH:\n\n```",
},
{
provider = "openai",
name = "CodeGPT4-1",
chat = false,
command = true,
-- string with model name or table with model name and parameters
model = { model = "gpt-4.1", temperature = 0.8, top_p = 1 },
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = require("gp.defaults").code_system_prompt,
},
{
provider = "openai",
name = "CodeGPT4-1-mini",
chat = false,
command = true,
-- string with model name or table with model name and parameters
model = { model = "gpt-4.1-mini", temperature = 0.7, top_p = 1 },
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = require("gp.defaults").code_system_prompt,
},
{
provider = "openai",
name = "CodeGPT4-1-nano",
chat = false,
command = true,
-- string with model name or table with model name and parameters
model = { model = "gpt-4.1-nano", temperature = 0.6, top_p = 1 },
-- system prompt (use this to specify the persona/role of the AI)
system_prompt = require("gp.defaults").code_system_prompt,
},
{
provider = "copilot",
name = "CodeCopilot",
Expand Down