feat: add gpt-4.5-preview models (#947)

This commit is contained in:
Liu Shuang
2025-03-04 16:26:59 +08:00
committed by GitHub
parent 261721bfdb
commit 74d6449f22

View File

@@ -37,6 +37,8 @@ const (
GPT4TurboPreview = "gpt-4-turbo-preview" GPT4TurboPreview = "gpt-4-turbo-preview"
GPT4VisionPreview = "gpt-4-vision-preview" GPT4VisionPreview = "gpt-4-vision-preview"
GPT4 = "gpt-4" GPT4 = "gpt-4"
GPT4Dot5Preview = "gpt-4.5-preview"
GPT4Dot5Preview20250227 = "gpt-4.5-preview-2025-02-27"
GPT3Dot5Turbo0125 = "gpt-3.5-turbo-0125" GPT3Dot5Turbo0125 = "gpt-3.5-turbo-0125"
GPT3Dot5Turbo1106 = "gpt-3.5-turbo-1106" GPT3Dot5Turbo1106 = "gpt-3.5-turbo-1106"
GPT3Dot5Turbo0613 = "gpt-3.5-turbo-0613" GPT3Dot5Turbo0613 = "gpt-3.5-turbo-0613"
@@ -99,6 +101,8 @@ var disabledModelsForEndpoints = map[string]map[string]bool{
GPT3Dot5Turbo16K: true, GPT3Dot5Turbo16K: true,
GPT3Dot5Turbo16K0613: true, GPT3Dot5Turbo16K0613: true,
GPT4: true, GPT4: true,
GPT4Dot5Preview: true,
GPT4Dot5Preview20250227: true,
GPT4o: true, GPT4o: true,
GPT4o20240513: true, GPT4o20240513: true,
GPT4o20240806: true, GPT4o20240806: true,