@gendive/chatllm 0.21.2 → 0.21.3
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/react/index.js +1 -56
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +1 -56
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react/index.mjs
CHANGED
|
@@ -11419,7 +11419,7 @@ var MessageList = ({
|
|
|
11419
11419
|
MessageBubble,
|
|
11420
11420
|
{
|
|
11421
11421
|
message,
|
|
11422
|
-
isLoading: isLoading && index === messages.length - 1 && message.role === "assistant",
|
|
11422
|
+
isLoading: isLoading && index === messages.length - 1 && message.role === "assistant" && !(activeSkillExecution && activeSkillExecution.status === "executing"),
|
|
11423
11423
|
isCopied: copiedId === message.id,
|
|
11424
11424
|
isEditing: editingId === message.id,
|
|
11425
11425
|
onCopy: () => onCopy(message.content, message.id),
|
|
@@ -11454,61 +11454,6 @@ var MessageList = ({
|
|
|
11454
11454
|
);
|
|
11455
11455
|
return renderMessage ? /* @__PURE__ */ jsx17(React13.Fragment, { children: renderMessage(message, bubbleElement) }, message.id) : bubbleElement;
|
|
11456
11456
|
}),
|
|
11457
|
-
activeSkillExecution && activeSkillExecution.status === "executing" && /* @__PURE__ */ jsxs16(
|
|
11458
|
-
"div",
|
|
11459
|
-
{
|
|
11460
|
-
style: {
|
|
11461
|
-
display: "flex",
|
|
11462
|
-
alignItems: "center",
|
|
11463
|
-
gap: "10px",
|
|
11464
|
-
padding: "12px 20px",
|
|
11465
|
-
margin: "8px auto",
|
|
11466
|
-
maxWidth: "680px",
|
|
11467
|
-
width: "100%"
|
|
11468
|
-
},
|
|
11469
|
-
children: [
|
|
11470
|
-
/* @__PURE__ */ jsx17(
|
|
11471
|
-
"div",
|
|
11472
|
-
{
|
|
11473
|
-
style: {
|
|
11474
|
-
width: "20px",
|
|
11475
|
-
height: "20px",
|
|
11476
|
-
borderRadius: "50%",
|
|
11477
|
-
border: "2px solid var(--chatllm-primary, #3584FA)",
|
|
11478
|
-
borderTopColor: "transparent",
|
|
11479
|
-
animation: "chatllm-spin 0.8s linear infinite",
|
|
11480
|
-
flexShrink: 0
|
|
11481
|
-
}
|
|
11482
|
-
}
|
|
11483
|
-
),
|
|
11484
|
-
/* @__PURE__ */ jsx17(
|
|
11485
|
-
"span",
|
|
11486
|
-
{
|
|
11487
|
-
style: {
|
|
11488
|
-
fontSize: "13px",
|
|
11489
|
-
fontWeight: 500,
|
|
11490
|
-
color: "var(--chatllm-text-muted, #94a3b8)"
|
|
11491
|
-
},
|
|
11492
|
-
children: activeSkillExecution.progress?.phaseLabel || `${activeSkillExecution.skillName} \uC2E4\uD589 \uC911...`
|
|
11493
|
-
}
|
|
11494
|
-
),
|
|
11495
|
-
activeSkillExecution.progress?.percentage != null && /* @__PURE__ */ jsxs16(
|
|
11496
|
-
"span",
|
|
11497
|
-
{
|
|
11498
|
-
style: {
|
|
11499
|
-
fontSize: "12px",
|
|
11500
|
-
color: "var(--chatllm-primary, #3584FA)",
|
|
11501
|
-
fontWeight: 600
|
|
11502
|
-
},
|
|
11503
|
-
children: [
|
|
11504
|
-
activeSkillExecution.progress.percentage,
|
|
11505
|
-
"%"
|
|
11506
|
-
]
|
|
11507
|
-
}
|
|
11508
|
-
)
|
|
11509
|
-
]
|
|
11510
|
-
}
|
|
11511
|
-
),
|
|
11512
11457
|
/* @__PURE__ */ jsx17("div", { ref: messagesEndRef })
|
|
11513
11458
|
]
|
|
11514
11459
|
}
|