- {showSuccessMessage && (
-
-
Skipper will suggest fixes for you now.
-
+
- )}
- {showExplainSuccess && (
-
-
Skipper will explain this for you now.
-
-
- )}
- {fetchResponseError && (
-
-
{fetchResponseError}
-
- )}
+
+
+ )}
+
+ {showSuccessMessage && (
+
+
Skipper will suggest fixes for you now.
+
setShowSuccessMessage(false)}
+ >
+ Dismiss
+
+
+ )}
+ {showExplainSuccess && (
+
+
Skipper will explain this for you now.
+
setShowExplainSuccess(false)}
+ >
+ Dismiss
+
+
+ )}
+ {fetchResponseError && (
+
+
{fetchResponseError}
+
{
+ setFetchResponseError(null);
+ setBillingError(null);
+ }}
+ >
+ Retry
+
+
+ )}
-
msg.content !== undefined) as any}
- loading={loadingAssistantResponse}
- shouldAutoFocus={isLastInteracted}
- onFocus={() => setIsLastInteracted(true)}
- onCancel={handleStop}
+ msg.content !== undefined) as any}
+ loading={loadingAssistantResponse}
+ shouldAutoFocus={isLastInteracted}
+ onFocus={() => setIsLastInteracted(true)}
+ onCancel={handleStop}
+ />
+
+