-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
API Connection Error when config points to no-longer-valid model #346
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@Vluptronic Did you encounter the first error listed in your PR? I'm not sure how you managed to send a request to Jupyternaut if the chat panel did not work at all. As for the latter two errors you see, those are server logs that can be safely ignored. The second one ( |
@dlqqq In addition, some of my previously installed extentions were removed after I installed jupyter-ai. So I closed down the server and reinstalled those extentions. Finally when I reopened the jupyter server the first error message above was raised. |
@dlqqq OK, probably cuz I messed up the versions of jupyter lab. I will create a new environment and retry this |
Retried and the first error persist.
I can still use the magic commands to call the llm, though. So it's just the chat box on the left that is problematic |
Today, when I opened Jupyter Lab, I encountered this situation. After configuring it last time, it was working fine and I haven't uninstalled or installed any other libraries in the current environment. |
Find the |
Hey I am using docker-compose Jupyterlab where would this
Is this a temp solution? @VectorZhao thx |
@VectorZhao
But I can't seem to delete it
is it because it's a read only directory? |
@Vluptronic @VectorZhao @Niko-La That is not the correct path to our configuration. Running this command in your shell should yield the correct Jupyter AI configuration path:
I would recommend 1) copying and pasting the contents of that file here to help us debug your issue, and 2) deleting that file locally and restarting Jupyter AI to see if you're able to use Jupyter AI again. |
Ran this in the jupyterlab terminal.
these are the folders in there.
my docker image (standard from jupyter stacks github)
updated: devop setup |
Closing because we cannot reproduce this issue, and it seems to be resolved by the commenters, per conversation with @dlqqq |
Very Funny, I followed the instruction on the readme file, properly installed and initiated jupyter lab. After I put in the API key I tried to talk to the jupyternaut.
![Screenshot 2023-08-16 at 4 58 27 PM](https://private-user-images.githubusercontent.com/121913831/260957010-ca6b5c90-55ec-4b12-b35d-7b8946cdaeea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1Nzk3ODEsIm5iZiI6MTcyMDU3OTQ4MSwicGF0aCI6Ii8xMjE5MTM4MzEvMjYwOTU3MDEwLWNhNmI1YzkwLTU1ZWMtNGIxMi1iMzVkLTdiODk0NmNkYWVlYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwMjQ0NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYThhM2NmOTJmY2Y5Zjk1NWJjYjJjZGY2YzcwMzExYjk2N2EyZjRlN2UwYWJhN2E3NTEwNzFhNGNkNTJmYzljJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Rrm9BG8jc91rapaSZf5R-IftxOoQABUv3QOMpC100Zg)
This is what I got in terminal. And it raises an error messgae APIConnectionError.
Here are more error messges
![Screenshot 2023-08-16 at 4 59 33 PM](https://private-user-images.githubusercontent.com/121913831/260957307-72b9dc07-d515-4f5c-8708-e2898493b92e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1Nzk3ODEsIm5iZiI6MTcyMDU3OTQ4MSwicGF0aCI6Ii8xMjE5MTM4MzEvMjYwOTU3MzA3LTcyYjlkYzA3LWQ1MTUtNGY1Yy04NzA4LWUyODk4NDkzYjkyZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwMjQ0NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kOWQ4NDNlZWNhZDkzZjUyNjJiNDJlYWNjYjE5MGQ1MDJhNjhhOGJjM2RjZGE3MmQ4Y2RlNGYyNjllOTZhMzVlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.gWALZgCi4vAuQNiP16fy3HzVJ03KyVKR8cva-tgD-iw)
However, by installing jupyter-ai, maybe some of my environments were changed and now I'm able to run some other jupyterlab plugins like chapyter.
Can someone explain to me what is going on? Really appreciate it.
The text was updated successfully, but these errors were encountered: