From 69c58e369ac18a2a37ce7b374a9b71f8dfd6f04d Mon Sep 17 00:00:00 2001 From: Bulat Nutfullin <23155849+bulat15g@users.noreply.github.com> Date: Thu, 18 Jul 2024 23:54:18 +0300 Subject: [PATCH] gpt4o-mini model added to list --- bot/openai_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/openai_helper.py b/bot/openai_helper.py index 5a1896cf..1fd9e297 100644 --- a/bot/openai_helper.py +++ b/bot/openai_helper.py @@ -28,7 +28,7 @@ GPT_4_32K_MODELS = ("gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-0613") GPT_4_VISION_MODELS = ("gpt-4-vision-preview",) GPT_4_128K_MODELS = ("gpt-4-1106-preview","gpt-4-0125-preview","gpt-4-turbo-preview", "gpt-4-turbo", "gpt-4-turbo-2024-04-09") -GPT_4O_MODELS = ("gpt-4o",) +GPT_4O_MODELS = ("gpt-4o","gpt-4o-mini") GPT_ALL_MODELS = GPT_3_MODELS + GPT_3_16K_MODELS + GPT_4_MODELS + GPT_4_32K_MODELS + GPT_4_VISION_MODELS + GPT_4_128K_MODELS + GPT_4O_MODELS def default_max_tokens(model: str) -> int: