From 827cf0ee3fd2e2a0eb9e893fc378705b2027f145 Mon Sep 17 00:00:00 2001 From: Steven Sun Date: Sat, 25 May 2024 14:05:43 -0500 Subject: [PATCH] chore: update default openai versions these are all better and cheaper models --- lua/model/prompts/chats.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/model/prompts/chats.lua b/lua/model/prompts/chats.lua index 964c6b6..cff1666 100644 --- a/lua/model/prompts/chats.lua +++ b/lua/model/prompts/chats.lua @@ -19,7 +19,7 @@ local openai_chat = { provider = openai, system = 'You are a helpful assistant', params = { - model = 'gpt-3.5-turbo-1106', + model = 'gpt-3.5-turbo', }, create = input_if_selection, run = function(messages, config) @@ -39,7 +39,7 @@ local chats = { openai = openai_chat, gpt4 = vim.tbl_deep_extend('force', openai_chat, { params = { - model = 'gpt-4-1106-preview', + model = 'gpt-4o', }, }), palm = { @@ -152,7 +152,7 @@ local chats = { provider = openai, system = "You are an expert programmer that gives constructive feedback. Review the changes in the user's git diff.", params = { - model = 'gpt-4-1106-preview', + model = 'gpt-4o', }, create = function() local git_diff = vim.fn.system({ 'git', 'diff', '--staged' })