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 doesn’t show up due to JS error #936

Open
SalamanderXing opened this issue Apr 25, 2024 · 0 comments
Open

Copilot doesn’t show up due to JS error #936

SalamanderXing opened this issue Apr 25, 2024 · 0 comments

Comments

@SalamanderXing
Copy link

Describe the bug
I followed the documentation on how to embed a copilot on my website. The copilot doesn't show up and the browser console shows a JS error.

index.js:78 Error
    at m9.fetch (index.js:78:19306)
    at async m9.get (index.js:78:19449)

To Reproduce
Steps to reproduce the behavior:
I created a test copilot page shat should link to: https://hotel-rovereto-r7blt2y3oa-ew.a.run.app/

  1. git clone https://github.com/SalamanderXing/chainlit_copilot_test
  2. cd chainlit_copilot_test/chainlit_copilot_test
  3. npm install
  4. npm run dev

Expected behavior
The copilot should show up.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser: Tested on Chrome & Firefox

Chainlit version 1.0.505

@SalamanderXing SalamanderXing changed the title JS error when trying to load copilot Copilot doesn’t show up due to JS error Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant