Skip to content

Commit

Permalink
Move "custom-model" to chat model
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Mar 13, 2024
1 parent d4dd61f commit fc41c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/openai_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ func getOpenAiModelType(model string) string {
"dall-e-3", "gpt-4-vision-preview", "gpt-4-32k-0613", "gpt-4-32k-0314", "gpt-4-32k",
"gpt-4-0613", "gpt-4-0314", "gpt-4", "gpt-3.5-turbo-0613",
"gpt-3.5-turbo-0301", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-16k-0613",
"gpt-3.5-turbo",
"gpt-3.5-turbo", "custom-model",
}

completionModels := []string{
"text-davinci-003", "text-davinci-002", "text-curie-001",
"text-babbage-001", "text-ada-001", "text-davinci-001",
"davinci-instruct-beta", "davinci", "curie-instruct-beta", "curie", "ada", "babbage", "custom-model",
"davinci-instruct-beta", "davinci", "curie-instruct-beta", "curie", "ada", "babbage",
}

for _, chatModel := range chatModels {
Expand Down

0 comments on commit fc41c8c

Please sign in to comment.