-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
Custom slash command build failed #613
Comments
@fbalicchia Thank you for opening this issue! Can you share info about your setup: OS, Python version, etc.? If you see the behavior repeat in other dev environments, sharing that info will help us diagnose this. |
I don't believe that the module cookiecutter applies to creating new slash commands. In fact, I think the module cookiecutter should be deleted. @dlqqq thoughts? |
Hello, My system is an Apple M1 Pro architecture with arm64, and the Python environment was created using the command: conda create -n jupyter-ai python=3.11 To replicate the issue, please check out the repository at https://github.com/fbalicchia/jupyter-ai-chat and place the plugin inside https://github.com/jupyterlab/jupyter-ai/tree/main/packages. The cd packages/jupyter-ai
cookiecutter jupyter-ai-module-cookiecutter I haven't made any significant changes; I upgraded some libraries and added a small slash command. Please refer to the list of actions I've taken in this comparison: In the main branch, there is the cookiecutter, while in plain-cookiecutter, there is code built from the scaffold after my changes. |
Thanks for your patience! I am currently looking at another Jupyter AI issue, but I can take a look at this as soon as I can. |
@fbalicchia When you have
|
Yes, you're correct !, I've encountered the same issue. In the meantime, I attempted to start from After adding dependencies to Jupyter AI, I managed to create my slash command with minimal issues in a separate package. What do you think about replacing cookie-cutter with extension template? |
closed in favor of #636 |
Hello, I'm working on implementing a custom slash command in ChatUI as per the guidelines provided in the documentation at https://jupyter-ai.readthedocs.io/en/latest/developers/index.html#custom-slash-commands-in-the-chat-ui.
I followed the plugin creation instructions outlined in https://github.com/jupyterlab/jupyter-ai/blob/main/packages/jupyter-ai-module-cookiecutter/README.md.
However, I'm encountering an unusual build issue that I find challenging to comprehend. When I attempt to build the plugin solution using https://github.com/jupyterlab/jupyter-ai/blob/main/scripts/install.sh, the build fails due to a new command plugin issue.
error that I retrieve
a Custom slash command used to reproduce the problem can be found here
[email protected]:fbalicchia/jupyter-ai-chat.git.
Please note that on the other hand, building it with
jlpm dev-install
in the https://github.com/jupyterlab/jupyter-ai/tree/main/packages/jupyter-ai-chat folder works for meCould you please advise me on where I might be making a mistake?
Thanks
The text was updated successfully, but these errors were encountered: