From f8e6beaa0b16f1d5b6e6ecb90a4cc3fe4626ae4d Mon Sep 17 00:00:00 2001 From: mbox Date: Thu, 21 Dec 2023 23:46:25 -0800 Subject: [PATCH] Add gpt-4-1106-preview model from openai --- packages/jupyter-ai-magics/jupyter_ai_magics/providers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py index 525cb931e..eb6495f6b 100644 --- a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py +++ b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py @@ -555,6 +555,7 @@ class ChatOpenAIProvider(BaseProvider, OpenAIChat): "gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-0613", + "gpt-4-1106-preview", ] model_id_key = "model_name" pypi_package_deps = ["openai"] @@ -596,6 +597,7 @@ class ChatOpenAINewProvider(BaseProvider, ChatOpenAI): "gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-0613", + "gpt-4-1106-preview", ] model_id_key = "model_name" pypi_package_deps = ["openai"]