From 7273b1ff39ba85983005a6ac4e723af54f0a3fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9-Abush=20Clause?= Date: Mon, 13 May 2024 20:20:58 +0200 Subject: [PATCH] models: add gpt-4o and gpt-4-turbo with vision, remove gpt-3.5-turbo-0613 due to deprecation --- addon/globalPlugins/openai/consts.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/addon/globalPlugins/openai/consts.py b/addon/globalPlugins/openai/consts.py index 5ce3398..74d04b9 100644 --- a/addon/globalPlugins/openai/consts.py +++ b/addon/globalPlugins/openai/consts.py @@ -51,11 +51,21 @@ ), Model( "OpenAI", - "gpt-3.5-turbo-0613", + "gpt-4o", # Translators: This is a model description - _("Same capabilities as the standard gpt-3.5-turbo model but with 4 times the context"), - 16384, - 4096 + _("Our most advanced, multimodal flagship model that’s cheaper and faster than GPT-4 Turbo"), + 128000, + 4096, + vision=True + ), + Model( + "OpenAI", + "gpt-4-turbo", + # Translators: This is a model description + _("The latest GPT-4 Turbo model with vision capabilities"), + 128000, + 4096, + vision=True, ), Model( "OpenAI",