parsehex / BuddyGenAI

Everyone needs a buddy -- make one and chat with them using BuddyGenAI
https://buddygenai.com
MIT License
0 stars 0 forks source link

Issues with unfocusing window while buddy is responding #2

Open parsehex opened 6 months ago

parsehex commented 6 months ago

If you send a message and un-focus the window while the buddy is still responding, the app will be in a broken state when you return.

I've worked around the problem by reloading the page if app's in a detected bad state. In that case then the user comes back to same-ish screen and sees 1 button enabled by default -- the reload button, which is fixed to work for the user message being the one reload (and so adds AI msg instead of updating).

A few thoughts come to mind to address this: