Skip to content

Commit

Permalink
feat: replace gpt3.5 agents with gpt-4o-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx committed Jul 23, 2024
1 parent 4812a00 commit a062dbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/gp/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ local config = {
},
{
provider = "openai",
name = "ChatGPT3-5",
name = "ChatGPT4o-mini",
chat = true,
command = false,
-- string with model name or table with model name and parameters
model = { model = "gpt-3.5-turbo", temperature = 1.1, top_p = 1 },
model = { model = "gpt-4o-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,
},
Expand Down Expand Up @@ -199,13 +199,13 @@ local config = {
},
{
provider = "openai",
name = "CodeGPT3-5",
name = "CodeGPT4o-mini",
chat = false,
command = true,
-- string with model name or table with model name and parameters
model = { model = "gpt-3.5-turbo", temperature = 0.8, top_p = 1 },
model = { model = "gpt-4o-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,
system_prompt = "Please return ONLY code snippets.\nSTART AND END YOUR ANSWER WITH:\n\n```",
},
{
provider = "copilot",
Expand Down

0 comments on commit a062dbe

Please sign in to comment.