@akropolys/kiku 1.7.15 → 1.7.16

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 CHANGED
@@ -717,9 +717,9 @@ I couldn't find any matching products in the store.`;
717
717
  ] }),
718
718
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "hsk-thinking-text", children: msg.thinking })
719
719
  ] }),
720
- msg.statusMessage && idx === chatHistory.length - 1 && !msg.content && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "hsk-status-live", children: [
720
+ !msg.content && !msg.thinking && msg.role === "assistant" && idx === chatHistory.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "hsk-status-live", children: [
721
721
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "hsk-status-dot" }),
722
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: msg.statusMessage })
722
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: msg.statusMessage || "Thinking..." })
723
723
  ] }),
724
724
  renderMarkdown(msg.content),
725
725
  streaming && idx === chatHistory.length - 1 && msg.role === "assistant" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "hsk-streaming-cursor" }),