-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Cannot specify inline completion model for provider registries #889
Comments
This does not look right to me. I was able to use huggingface models before. Do you have inline completer enabled? It looks greyed out on the screenshot. Edit: Of course it could be a recent regression. |
Can you upgrade JupyterLab to the latest version? There was a related big which was patched in 4.2.3 ( jupyterlab/jupyterlab#16508 ). |
Yes, that seemed like the issue, I opened a document, and then used the bottom button to enable, which worked. Will check with JLab 4.2.3 shortly. Will close this issue, as it doesn't seem to be the problem. |
@krassowski |
Maybe I'm missing something obvious but I also cannot specify an inline completions model (it is greyed out). I am running Jlab 4.2.3 . Using ollama as the language model in the chat window works wonderfully though, huge thanks to the team for supporting that! |
@cboettig with what version of jupyter-ai? Can you post a screenshot? |
From your screenshot I see that you have the history provider enabled, but do you also have the jupyter-ai provider enabled? You need to scroll down in the settings panel to check. |
argh, thanks! I totally didn't spot that next check box hiding in there! |
For what it's worth, in case others are struggling with this: when using Notebook v7 to edit the Jupyter-AI settings (via "Left sidebar -> Show Jupyter AI Chat"), the "Inline completion model" select box remains grayed out for me regardless. You can instead go to the JupyterLab-based interface at /lab to update the AI settings, and inline completions will then work in both the JupyterLab and Notebook v7 cells. (And somewhat similarly, when clicking the gear next to "Inline completions model" while in a Notebook v7 notebook, it leads to a JS error |
Description
There is no way to specify an inline completion model in settings for providers such as HuggingFace and Ollama, because they don't have the models listed within their provider configuration.
The text was updated successfully, but these errors were encountered: