Skip to content

Commit b372f8a

Browse files
yibletRobitx
authored andcommitted
feat: update defaults to use latest model versions: gpt-4o and gpt-3.5-turbo
1 parent 52938ff commit b372f8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/gp/config.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ local config = {
4040
chat = true,
4141
command = false,
4242
-- string with model name or table with model name and parameters
43-
model = { model = "gpt-4-1106-preview", temperature = 1.1, top_p = 1 },
43+
model = { model = "gpt-4o", temperature = 1.1, top_p = 1 },
4444
-- system prompt (use this to specify the persona/role of the AI)
4545
system_prompt = "You are a general AI assistant.\n\n"
4646
.. "The user provided the additional info about how they would like you to respond:\n\n"
@@ -57,7 +57,7 @@ local config = {
5757
chat = true,
5858
command = false,
5959
-- string with model name or table with model name and parameters
60-
model = { model = "gpt-3.5-turbo-1106", temperature = 1.1, top_p = 1 },
60+
model = { model = "gpt-3.5-turbo", temperature = 1.1, top_p = 1 },
6161
-- system prompt (use this to specify the persona/role of the AI)
6262
system_prompt = "You are a general AI assistant.\n\n"
6363
.. "The user provided the additional info about how they would like you to respond:\n\n"
@@ -74,7 +74,7 @@ local config = {
7474
chat = false,
7575
command = true,
7676
-- string with model name or table with model name and parameters
77-
model = { model = "gpt-4-1106-preview", temperature = 0.8, top_p = 1 },
77+
model = { model = "gpt-4o", temperature = 0.8, top_p = 1 },
7878
-- system prompt (use this to specify the persona/role of the AI)
7979
system_prompt = "You are an AI working as a code editor.\n\n"
8080
.. "Please AVOID COMMENTARY OUTSIDE OF THE SNIPPET RESPONSE.\n"
@@ -85,7 +85,7 @@ local config = {
8585
chat = false,
8686
command = true,
8787
-- string with model name or table with model name and parameters
88-
model = { model = "gpt-3.5-turbo-1106", temperature = 0.8, top_p = 1 },
88+
model = { model = "gpt-3.5-turbo", temperature = 0.8, top_p = 1 },
8989
-- system prompt (use this to specify the persona/role of the AI)
9090
system_prompt = "You are an AI working as a code editor.\n\n"
9191
.. "Please AVOID COMMENTARY OUTSIDE OF THE SNIPPET RESPONSE.\n"

0 commit comments

Comments
 (0)