Skip to content

Commit 27c1c56

Browse files
authored
feat: Add GPT-4o Mini model support (#796)
1 parent 3e47e6f commit 27c1c56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

completion.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const (
2424
GPT40314 = "gpt-4-0314"
2525
GPT4o = "gpt-4o"
2626
GPT4o20240513 = "gpt-4o-2024-05-13"
27+
GPT4oMini = "gpt-4o-mini"
28+
GPT4oMini20240718 = "gpt-4o-mini-2024-07-18"
2729
GPT4Turbo = "gpt-4-turbo"
2830
GPT4Turbo20240409 = "gpt-4-turbo-2024-04-09"
2931
GPT4Turbo0125 = "gpt-4-0125-preview"
@@ -89,6 +91,8 @@ var disabledModelsForEndpoints = map[string]map[string]bool{
8991
GPT4: true,
9092
GPT4o: true,
9193
GPT4o20240513: true,
94+
GPT4oMini: true,
95+
GPT4oMini20240718: true,
9296
GPT4TurboPreview: true,
9397
GPT4VisionPreview: true,
9498
GPT4Turbo1106: true,

0 commit comments

Comments
 (0)