Skip to content

Commit c37cf9a

Browse files
authored
Dynamic model (#838)
1 parent 030b7cb commit c37cf9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

completion.go

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const (
2525
GPT4o = "gpt-4o"
2626
GPT4o20240513 = "gpt-4o-2024-05-13"
2727
GPT4o20240806 = "gpt-4o-2024-08-06"
28+
GPT4oLatest = "chatgpt-4o-latest"
2829
GPT4oMini = "gpt-4o-mini"
2930
GPT4oMini20240718 = "gpt-4o-mini-2024-07-18"
3031
GPT4Turbo = "gpt-4-turbo"
@@ -93,6 +94,7 @@ var disabledModelsForEndpoints = map[string]map[string]bool{
9394
GPT4o: true,
9495
GPT4o20240513: true,
9596
GPT4o20240806: true,
97+
GPT4oLatest: true,
9698
GPT4oMini: true,
9799
GPT4oMini20240718: true,
98100
GPT4TurboPreview: true,

0 commit comments

Comments
 (0)