huggingface / chat-ui

Open source codebase powering the HuggingChat app
https://huggingface.co/chat
Apache License 2.0
7.33k stars 1.07k forks source link

[Assistants] Start chatting button freezes app running Locally #770

Open gururise opened 8 months ago

gururise commented 8 months ago

Local Install is unable to start chatting with assistants

Steps:

  1. Create a new assistant (and manually set users to 2 and make it featured)
  2. Browse to Popular 'Assistants' page.
  3. Select newly created assistant.
  4. Click "Start chatting"

Once you click the "Start chatting" button, the page freezes and clicking the "Cancel' button no longer works. If you click the cancel button before you click the "Start chatting" button, you can dismiss the dialog. The only way to get out of this page is to change the URL once it freezes.

Here is a new assistant I created: image

GETS STUCK HERE At this dialog, clicking "Start chatting" will freeze the app, making the cancel button not work anymore: image

Oddly enough, you can chat with the assistant by going through the "settings" menu; however, trying to chat with an assistant by going through the "Popular Assistants" page does not work. NOTE: Chatting with an assistant by using the settings menu and making the assistant ACTIVE works fine: image

johndpope commented 8 months ago

my chat is (partially) working with mistralai/Mistral-7B-Instruct-v0.1 • Screenshot from 2024-02-05 06-22-39 though I don't see assistants on side / (have to go directly to /assistants) and I lose them after I close them. Screenshot from 2024-02-05 06-21-49

UPDATE .env - fixes missing assistants ENABLE_ASSISTANTS=true

gururise commented 8 months ago

Pulled Latest changes and this bug still exists.