Skip to content

Commit 2ce83df

Browse files
committed
chore: update openai model list
1 parent 28113b9 commit 2ce83df

File tree

1 file changed

+24
-19
lines changed

1 file changed

+24
-19
lines changed

lua/parrot/provider/openai.lua

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -164,32 +164,37 @@ function OpenAI:get_available_models(online)
164164
end
165165

166166
local ids = {
167-
"gpt-4o",
167+
"gpt-4.5-preview",
168+
"gpt-4.5-preview-2025-02-27",
169+
"gpt-4o-mini-audio-preview-2024-12-17",
168170
"o1-mini-2024-09-12",
171+
"o1-preview-2024-09-12",
172+
"o1-mini",
173+
"o1-preview",
169174
"gpt-4-turbo",
170-
"gpt-4-1106-preview",
171-
"gpt-3.5-turbo",
172-
"gpt-3.5-turbo-0125",
173-
"gpt-3.5-turbo-instruct",
175+
"o1",
176+
"gpt-4",
174177
"babbage-002",
175-
"gpt-3.5-turbo-16k",
176-
"gpt-4-0125-preview",
177-
"gpt-4-turbo-preview",
178-
"gpt-4o-2024-05-13",
178+
"o1-2024-12-17",
179179
"chatgpt-4o-latest",
180-
"gpt-4",
181-
"gpt-4-0613",
182-
"o1-mini",
183-
"o1-preview",
184-
"o1-preview-2024-09-12",
180+
"gpt-4o",
181+
"gpt-4o-2024-08-06",
182+
"o3-mini",
183+
"o3-mini-2025-01-31",
184+
"gpt-4-turbo-2024-04-09",
185+
"davinci-002",
185186
"gpt-3.5-turbo-1106",
186-
"gpt-4o-mini-2024-07-18",
187+
"gpt-3.5-turbo-instruct",
188+
"gpt-4o-2024-11-20",
187189
"gpt-3.5-turbo-instruct-0914",
190+
"gpt-3.5-turbo-0125",
191+
"gpt-3.5-turbo",
192+
"gpt-3.5-turbo-16k",
193+
"gpt-4-1106-preview",
194+
"gpt-4-0613",
195+
"gpt-4o-mini-2024-07-18",
196+
"gpt-4o-2024-05-13",
188197
"gpt-4o-mini",
189-
"davinci-002",
190-
"gpt-4o-2024-08-06",
191-
"gpt-4o-2024-11-20",
192-
"gpt-4-turbo-2024-04-09",
193198
}
194199
if online and self:verify() then
195200
local job = Job:new({

0 commit comments

Comments
 (0)