Skip to content

Commit

Permalink
Add gpt-4-1106-preview model from openai (jupyterlab#540)
Browse files Browse the repository at this point in the history
Co-authored-by: mbox <mbox@mbox.mbox>
  • Loading branch information
jamesjun and mbox authored Dec 26, 2023
1 parent 1d5108b commit eb2f88c
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 eb2f88c

Please sign in to comment.