@apteva/apteva-kit 0.1.83 → 0.1.84
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 +3 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -5
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1542,10 +1542,8 @@ function ToolCall({ name, status, isReceiving = false, inputLength = 0, streamOu
|
|
|
1542
1542
|
] }),
|
|
1543
1543
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "apteva-tool-label", children: [
|
|
1544
1544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: name }),
|
|
1545
|
-
streamOutput ? /* @__PURE__ */ _jsxruntime.
|
|
1546
|
-
|
|
1547
|
-
streamOutput
|
|
1548
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1545
|
+
streamOutput ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "apteva-tool-stream-separator", children: " \xB7 " }) : null,
|
|
1546
|
+
streamOutput ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "apteva-tool-stream-output", children: streamOutput }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1549
1547
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "apteva-tool-status-text", children: " running" }),
|
|
1550
1548
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "apteva-tool-dots", children: [
|
|
1551
1549
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "." }),
|
|
@@ -2996,7 +2994,7 @@ ${widgetContext}` : widgetContext;
|
|
|
2996
2994
|
if (chunk.tool_id && chunk.event === "chunk" && chunk.content) {
|
|
2997
2995
|
const toolSegment = contentSegments.find((s) => s.type === "tool" && s.id === chunk.tool_id);
|
|
2998
2996
|
if (toolSegment) {
|
|
2999
|
-
toolSegment.streamOutput =
|
|
2997
|
+
toolSegment.streamOutput = chunk.content;
|
|
3000
2998
|
updateMessage();
|
|
3001
2999
|
}
|
|
3002
3000
|
}
|