Strange bug that doesn't allow generation of answers unless history and training data is enabled

When trying to generate an answer for a query, i came across a situation where while the answer is generating (upto two lines of the answer can be seen), I get an error “An error occurred, please try again.”

This error dialogue cannot be closed and i have to reopen the app to access the chat window.
This error is always happening when the chat history and training is disabled. When the option is enabled, I am getting the responses. This is a privacy concern.