While typing, Regenerate response occurs

This error started happening today.

While typing reply the server error occurs and Regenerate Response button appears then the whole chat disappears and needs to be refreshed.