feat: Add GPT-4o Mini model support (#796)

This commit is contained in:
Daniel Chalef
2024-07-19 07:06:51 -07:00
committed by GitHub
parent 3e47e6fef4
commit 27c1c56f0b

View File

@@ -24,6 +24,8 @@ const (
GPT40314 = "gpt-4-0314" GPT40314 = "gpt-4-0314"
GPT4o = "gpt-4o" GPT4o = "gpt-4o"
GPT4o20240513 = "gpt-4o-2024-05-13" GPT4o20240513 = "gpt-4o-2024-05-13"
GPT4oMini = "gpt-4o-mini"
GPT4oMini20240718 = "gpt-4o-mini-2024-07-18"
GPT4Turbo = "gpt-4-turbo" GPT4Turbo = "gpt-4-turbo"
GPT4Turbo20240409 = "gpt-4-turbo-2024-04-09" GPT4Turbo20240409 = "gpt-4-turbo-2024-04-09"
GPT4Turbo0125 = "gpt-4-0125-preview" GPT4Turbo0125 = "gpt-4-0125-preview"
@@ -89,6 +91,8 @@ var disabledModelsForEndpoints = map[string]map[string]bool{
GPT4: true, GPT4: true,
GPT4o: true, GPT4o: true,
GPT4o20240513: true, GPT4o20240513: true,
GPT4oMini: true,
GPT4oMini20240718: true,
GPT4TurboPreview: true, GPT4TurboPreview: true,
GPT4VisionPreview: true, GPT4VisionPreview: true,
GPT4Turbo1106: true, GPT4Turbo1106: true,