Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
adayNU committed May 15, 2024
1 parent 7289057 commit 0a6cbc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/chat_completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var chatCompletionToString = map[ChatCompletion]string{
GPT4Turbo0125Preview: "gpt-4-0125-preview",
GPT4TurboPreview: "gpt-4-turbo-preview",
GPT4o: "gpt-4o",
GPT4o20240503: "ggpt-4o-2024-05-13",
GPT4o20240503: "gpt-4o-2024-05-13",
}

var stringToChatCompletion = map[string]ChatCompletion{
Expand All @@ -140,5 +140,5 @@ var stringToChatCompletion = map[string]ChatCompletion{
"gpt-4-0125-preview": GPT4Turbo0125Preview,
"gpt-4-turbo-preview": GPT4TurboPreview,
"gpt-4o": GPT4o,
"ggpt-4o-2024-05-13": GPT4o20240503,
"gpt-4o-2024-05-13": GPT4o20240503,
}

0 comments on commit 0a6cbc8

Please sign in to comment.