You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After Enable Completions by Jupyternaut is enabled, I see the following error:
Inline completion failed on the server side
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/jupyter_ai/completions/handlers/base.py",
line 130, in handle_request_and_catch await handle_request File "/usr/local/lib/python3.10/dist-packages/jupyter_ai/completions/handlers/base.py",
line 158, in _handle_request await self.handle_request(request) File "/usr/local/lib/python3.10/dist-packages/jupyter_ai/completions/handlers/default.py",
line 43, in handle_request suggestion = await self.llm_chain.ainvoke(input=model_arguments) AttributeError: 'NoneType' object has no attribute 'ainvoke'
Reproduce
Install jupyter-ai
Fire up a new server
Click Enable Completions by Jupyternaut
See error above
Expected behavior
Inline completion should work without issue
Context
Operating System and version: Amz Linux 2023
Browser and version: Chrome Version 122.0.6261.129
JupyterLab version: 4.1.2
JupyterAI version: 2.10.0
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Did you select a LLM? I think the problem is that the frontend should not send requests until a model is selected (and maybe print a nice error message in the notification).
Description
After
Enable Completions by Jupyternaut
is enabled, I see the following error:Reproduce
Enable Completions by Jupyternaut
Expected behavior
Inline completion should work without issue
Context
The text was updated successfully, but these errors were encountered: