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

The text is being interpreted as a Windows command after clearing the chat #58

Open
ClementCariou opened this issue Apr 14, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@ClementCariou
Copy link

ClementCariou commented Apr 14, 2023

Describe the bug
Currently, when the user clicks on "Clear chat" after asking a question, the last conversation remains on the screen, and the backend stops, showing the command line. When the user tries to ask another question, the text is interpreted as a Windows command.

To Reproduce
Steps to reproduce the behavior:

  1. Ask a question and wait for the bot to answer.
  2. Click "Clear chat" once.
  3. The cmd path is shown in the chat "C:\Users\clem4\AppData\Local\Programs\alpaca-electron>".
  4. Ask another question.
  5. The text is interpreted as a Windows command.

Expected behavior
The chat should be cleared, the chat bot should be able to make another conversation.

Screenshots
image

Desktop:

  • OS: Windows 10.
  • Browser: Chrome.
  • Version: 111.

(similar to #25)

@lustfeind
Copy link

Confirm same problem on mac arm version. Chat does not work anymore after clearing chat.

@ItsPi3141
Copy link
Owner

Ok I'll have to look into this more. I thought I fixed it already for windows. And from my testing, the problem shouldn't occur on Mac and Linux. Unless you spam the stop button. So maybe I'll just gray out the button after the first press.

@RandomLegend
Copy link

The same issue occurs on linux for me aswell. However not everytime interestingly.

@ItsPi3141 ItsPi3141 added the bug Something isn't working label Apr 23, 2023
@LostMekka
Copy link

for me this happens right from the start, regardless of what model i choose. the model does not load (i dont see any ram usage increase) and if i type "notepad.exe" in the prompt area, notepad opens up...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants