Sometimes when the API fails the response back is something like `{content: '', role: ''}` Try catching `submitQuery` doesn't yield any results. Is there a way to catch errors and showcase to the end user?
Sometimes when the API fails the response back is something like
{content: '', role: ''}Try catching
submitQuerydoesn't yield any results. Is there a way to catch errors and showcase to the end user?