Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades openai to version 1, removes openai history in magics #551

Merged
merged 12 commits into from
Jan 5, 2024
Prev Previous commit
Next Next commit
No longer suppress openai-chat
  • Loading branch information
JasonWeill committed Jan 4, 2024
commit 7c90aa70ab2c6e673509818046716bece6f90bd7
4 changes: 0 additions & 4 deletions packages/jupyter-ai/jupyter_ai/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,6 @@ def get(self):

# Step 1: gather providers
for provider in self.lm_providers.values():
# skip old legacy OpenAI chat provider used only in magics
if provider.id == "openai-chat":
continue

optionals = {}
if provider.model_id_label:
optionals["model_id_label"] = provider.model_id_label
Expand Down