Skip to content

Commit

Permalink
Backport PR #540: Add gpt-4-1106-preview model from openai (#545)
Browse files Browse the repository at this point in the history
Co-authored-by: James Jun <[email protected]>
  • Loading branch information
meeseeksmachine and jamesjun authored Dec 26, 2023
1 parent ad81851 commit afb138e
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 afb138e

Please sign in to comment.