Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Show error message and retry when submitting tasks

Open notmd opened this issue 2 years ago • 1 comments

https://github.com/LAION-AI/Open-Assistant/blob/4ab4821b05ba85a1d85bd6d94773cd0f0e5c452d/website/src/hooks/tasks/useGenericTaskAPI.tsx#L42

we should handle all kinds of errors instead of showing the NONE_AVAILABLE state. Maybe trigger a toast to let the user know or something.

notmd avatar Feb 18 '23 19:02 notmd

A way to retry a message submission in case of an error would also be very helpful. It would prevent loss of work when users submit messages while the server is temporarily not reachable (e.g. during updates).

andreaskoepf avatar Feb 19 '23 23:02 andreaskoepf