jupyterlab / jupyter-ai

A generative AI extension for JupyterLab
https://jupyter-ai.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
3.13k stars 311 forks source link

Support for OpenAI's GPT-4o-mini disappeared in jupyter-ai-2.23.0 settings #999

Closed fozak closed 1 day ago

fozak commented 3 days ago

Description

Support for OpenAI's GPT-4o-mini disappeared in jupyter-ai-2.23.0 settings

Reproduce

image

Expected behavior

github.com/jupyterlab/jupyter-ai/issues/912

Context

upgrading, removing, doesnt help, the OpenAI's GPT-4o-mini is not in the menu

fozak commented 1 day ago

I found the cause of the problem and fix. The newer version of jupyter-ai kept the older version of jupyter-ai-magics. so you go 1) pip uninstall jupyter-ai[all] 2) pip uninstall jupyter-ai-magics[all] 3) pip install jupyter-ai[all] that instantiates the same latest versions of jupyter-ai and jupyter-ai-magics, then all latest models are shown in menu of jupyter-ai including gpt-4o-mini