Skip to content

Commit db9cc62

Browse files
committed
Change enums of chatgpt o1 modesl to correct values
1 parent 62feb38 commit db9cc62

File tree

1 file changed

+4
-7
lines changed
  • models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api

1 file changed

+4
-7
lines changed

models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api/OpenAiApi.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,22 +191,19 @@ public enum ChatModel implements ChatModelDescription {
191191
/**
192192
* Points to the most recent snapshot of the o1 model:o1-preview-2024-09-12
193193
*/
194-
GPT_O_1_PREVIEW("gpt-o1-preview"),
195-
194+
O1_PREVIEW("o1-preview"),
196195
/**
197196
* Latest o1 model snapshot
198197
*/
199-
GPT_O_1_PREVIEW_2024_09_12("gpt-o1-preview-2024-09-12"),
200-
198+
O1_PREVIEW_2024_09_12("o1-preview-2024-09-12"),
201199
/**
202200
* Points to the most recent o1-mini snapshot:o1-mini-2024-09-12
203201
*/
204-
GPT_O_1_MINI("gpt-o1-mini"),
205-
202+
O1_MINI("o1-mini"),
206203
/**
207204
* Latest o1-mini model snapshot
208205
*/
209-
GPT_O_1_MINI_2024_09_12("gpt-o1-mini-2024-09-12"),
206+
O1_MINI_2024_09_12("o1-mini-2024-09-12"),
210207

211208
/**
212209
* Multimodal flagship model that’s cheaper and faster than GPT-4 Turbo. Currently

0 commit comments

Comments
 (0)