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

Error in /learn when the embedding provider is changed #869

Closed
srdas opened this issue Jul 3, 2024 · 1 comment
Closed

Error in /learn when the embedding provider is changed #869

srdas opened this issue Jul 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@srdas
Copy link
Collaborator

srdas commented Jul 3, 2024

Description

The following error is thrown when `/learn' is used for the first time after the embedding provider is changed:
image

Reproduce

Start with a fresh install of jupyter-ai.

Use the existing providers (LLM and embeddings) from the config file and call /learn as shown below (this works and there is no problem at all:
image

Next, go to the chat settings and change only the embedding model, and then try the /learn command to get the error. If you repeat the /learn command a second time, there is no error, this is shown below:
image

Tested different branches in the developer environment and also in a plain user environment, built from scratch. The error persists across all environments.

@srdas srdas added the bug Something isn't working label Jul 3, 2024
@srdas srdas self-assigned this Jul 3, 2024
@srdas srdas closed this as completed Jul 8, 2024
@srdas
Copy link
Collaborator Author

srdas commented Jul 8, 2024

Fixed by PR #870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant