@comergehq/studio 0.1.24 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/ChatMessageBubble.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -6431,7 +6431,7 @@ function ChatMessageBubble({ message, renderContent, isLast, retrying, onRetry,
|
|
|
6431
6431
|
const bubbleVariant = isHuman ? "surface" : "surfaceRaised";
|
|
6432
6432
|
const cornerStyle = isHuman ? { borderTopRightRadius: 0 } : { borderTopLeftRadius: 0 };
|
|
6433
6433
|
const bodyColor = metaStatus === "success" ? theme.colors.success : metaStatus === "error" ? theme.colors.danger : void 0;
|
|
6434
|
-
const showRetry = Boolean(onRetry) && isLast && metaStatus === "error";
|
|
6434
|
+
const showRetry = Boolean(onRetry) && isLast && metaStatus === "error" && message.author === "human";
|
|
6435
6435
|
const retryLabel = retrying ? "Retrying..." : "Retry";
|
|
6436
6436
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_react_native45.View, { style: [align, style], children: [
|
|
6437
6437
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|