Skip to content

Commit

Permalink
Backport PR jupyterlab#540: Add gpt-4-1106-preview model from openai
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesjun authored and meeseeksmachine committed Dec 26, 2023
1 parent ad81851 commit 1264228
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/jupyter-ai-magics/jupyter_ai_magics/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit 1264228

Please sign in to comment.