Inconsistent replication, I initially thought it was related to "slow" AIs, but I now can't reproduce on DeepSeek Chat V3 which is where I noticed it.
- Start a new thread
- Send any prompt that results in multiple lines of response
- Wait a moment
- Press the stop button (id "stop")
Nothing happens for a few seconds, then the AI stops. I think it was continuing to output previously, but I can't reproduce.
What I can reliably reproduce:
- Start a new thread
- Send any prompt that results in multiple lines of response
- Immediately press the stop button (id "stop")
Nothing happens for a second, then the first line of the AI response is printed and it stops.
In the network tab of dev tools I see that repeat presses of the button send repeat requests.
I expect the button to immediately indicate that my button press happened and that it is trying to stop the AI.