@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.
@@ -11500,7 +11500,7 @@ var MessageList = ({
11500
11500
  MessageBubble,
11501
11501
  {
11502
11502
  message,
11503
- isLoading: isLoading && index === messages.length - 1 && message.role === "assistant",
11503
+ isLoading: isLoading && index === messages.length - 1 && message.role === "assistant" && !(activeSkillExecution && activeSkillExecution.status === "executing"),
11504
11504
  isCopied: copiedId === message.id,
11505
11505
  isEditing: editingId === message.id,
11506
11506
  onCopy: () => onCopy(message.content, message.id),
@@ -11535,61 +11535,6 @@ var MessageList = ({
11535
11535
  );
11536
11536
  return renderMessage ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react19.default.Fragment, { children: renderMessage(message, bubbleElement) }, message.id) : bubbleElement;
11537
11537
  }),
11538
- activeSkillExecution && activeSkillExecution.status === "executing" && /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
11539
- "div",
11540
- {
11541
- style: {
11542
- display: "flex",
11543
- alignItems: "center",
11544
- gap: "10px",
11545
- padding: "12px 20px",
11546
- margin: "8px auto",
11547
- maxWidth: "680px",
11548
- width: "100%"
11549
- },
11550
- children: [
11551
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
11552
- "div",
11553
- {
11554
- style: {
11555
- width: "20px",
11556
- height: "20px",
11557
- borderRadius: "50%",
11558
- border: "2px solid var(--chatllm-primary, #3584FA)",
11559
- borderTopColor: "transparent",
11560
- animation: "chatllm-spin 0.8s linear infinite",
11561
- flexShrink: 0
11562
- }
11563
- }
11564
- ),
11565
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
11566
- "span",
11567
- {
11568
- style: {
11569
- fontSize: "13px",
11570
- fontWeight: 500,
11571
- color: "var(--chatllm-text-muted, #94a3b8)"
11572
- },
11573
- children: activeSkillExecution.progress?.phaseLabel || `${activeSkillExecution.skillName} \uC2E4\uD589 \uC911...`
11574
- }
11575
- ),
11576
- activeSkillExecution.progress?.percentage != null && /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
11577
- "span",
11578
- {
11579
- style: {
11580
- fontSize: "12px",
11581
- color: "var(--chatllm-primary, #3584FA)",
11582
- fontWeight: 600
11583
- },
11584
- children: [
11585
- activeSkillExecution.progress.percentage,
11586
- "%"
11587
- ]
11588
- }
11589
- )
11590
- ]
11591
- }
11592
- ),
11593
11538
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { ref: messagesEndRef })
11594
11539
  ]
11595
11540
  }