You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/interface/web/app/chat/page.tsx
+4-1
Original file line number
Diff line number
Diff line change
@@ -264,7 +264,10 @@ export default function Chat() {
264
264
265
265
// Render error message as current message
266
266
consterrorMessage=(errasError).message;
267
-
currentMessage.rawResponse=`Encountered Error: ${errorMessage}. Please try again later.`;
267
+
if(errorMessage.includes("Error in input stream"))
268
+
currentMessage.rawResponse=`Woops! The connection broke while I was writing my thoughts down. Maybe try again in a bit or dislike this message if the issue persists?`;
269
+
else
270
+
currentMessage.rawResponse=`Umm, not sure what just happened. I see this error message: ${errorMessage}. Could you try again or dislike this message if the issue persists?`;
0 commit comments