Skip to content
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

Copilot example not working #159

Open
acwwat opened this issue Nov 24, 2024 · 0 comments
Open

Copilot example not working #159

acwwat opened this issue Nov 24, 2024 · 0 comments

Comments

@acwwat
Copy link

acwwat commented Nov 24, 2024

I am using Chainlit version 1.3.2.

The copilot example is not working. Simply following the instructions in the README and running streamlit run app.py returns an error:

AssertionError: Directory ''C:\\Users\\johndoe\\git\\chainlit-copilot\\./assets'' in package 'chainlit' could not be found.

If I update config.toml and set the following:

custom_build = "./frontend/dist"

The app starts and shows the HTML, however the copilot does not show up because http://localhost:8000/copilot/index.js returns a 404. I am not sure how Chainlit loads the default assets but as it is the example is broken. Please fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant