Stop generating button doesn’t work

Using HuggingFace last chat-ui version. The “Stop Generating” doesn’t work. When aborting the generation I’m getting an error showed in the input-“Sorry,something went wrong”. I used some logs and saw that the generation doesn’t actually stops. I suspect that there is a problem with the signal in the fetch function to the server side. I am using a private registry for my npm packages(versions are a little changed). The error occurred only on build mode using vite build, locally everything works fine.

It’s true. The behavior after pressing the stop button is strange. For bugs and requests for Hugging Chat, I recommend using the Discussion section below.

Ok, thank you!