diff --git a/openai.go b/openai.go index 27d6359..da779bc 100644 --- a/openai.go +++ b/openai.go @@ -68,11 +68,5 @@ func figureOutWhichModelToUse(client *openai.Client) string { return customModel } - for _, model := range availableModels.Models { - if model.ID == customModel { - return customModel - } - } - return openai.GPT3Dot5Turbo }