-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
There seems to be a problem with the chat backend, please look at the JupyterLab server logs #508
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@chenxuewei-ihealth Thank you for reaching out to us! Can you try running the following extensions in the same conda environment where you run JupyterLab?
You should have both a client (lab) extension and a server extension installed for Jupyter AI. |
Thank you for your quick response.
(jupyter-ai) ➜ ~ jupyter --version 2.jupyter labextension list (jupyter-ai) ➜ ~ jupyter labextension list 3.jupyter server extension list (jupyter-ai) ➜ ~ jupyter server extension list Config dir: /Users/chenxuewei/opt/anaconda3/envs/jupyter-ai/etc/jupyter |
@chenxuewei-ihealth Can you include the terminal output after running |
@dlqqq , hello, i have same issue=( It is because i'm from Russia or it doesn't matter for jupyterlab-ai extension? |
Hi, I had the same problem. My problem was that I selected a model in gpt4all as my embedded model even though I did not install it. It worked after I installed the model. From there, I could select other models. |
I have the same problem. JupyterLab Version 4.0.11 |
Same, but in a docker container: Same error: On local m2 mac: deleted the entire dir: /Users//%myname%/Library/Jupyter/ FROM jupyter/all-spark-notebook:spark-3.5.0. |
Any update here? I am facing the same issue as well Jupyter Lab version - 4.1.5 Server Logs -
|
Can you paste full logs, especially anything shown just after startup? This fragment is likely irrelevant. |
Saw this log in jupyter server startup
Updated sqlalchemy version and the extension seems to be working fine now @krassowski |
I fixed my issue When starting Jupyter Lab It showed some models not installed I ran the pip install (by the way, I do -m to ensure it stays in conda I originally installed the extension through the Jupyter extension manager. I first tried the above example of installing sqlalchemy. That didn't fix it.
original log file
|
Thank you so much! This worked for me. Hope this helps others as well! |
If these dependencies are necessary, then why are they not part of the install docs (or the conda recipe)? This leads to a bad UX, given that the user just sees "Something is wrong" when they follow the official install docs and then try to use the jupyter-ai chat for the first time. |
What solved my issue was the fact that apparently I had both Jupyter Lab and Jupyter-AI installed concurrently. Removing both and install Jupyter-AI solved the issue. |
Description
Get error message "404 GET /api/ai/chats?token=[secret] (efd31bb56cc24686bea06aa9c4fb330b@::1) 5.90ms referer=None" in terminal.
Get error message "There seems to be a problem with the chat backend, please look at the JupyterLab server logs" in Jupyter.
Reproduce
conda create -n jupyter-ai python=3.11
conda activate jupyter-ai
pip install jupyter
pip install jupyter_ai
jupyter lab
Context
The text was updated successfully, but these errors were encountered: