@blade-hq/agent-react 2612.0.0-beta.53 → 2612.0.0-beta.54
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.
|
@@ -30838,6 +30838,9 @@ function ExpandedChildAssistantMessage({
|
|
|
30838
30838
|
(toolCall) => formatToolName(toolCall.name) !== "AskUserQuestion"
|
|
30839
30839
|
) : message.tool_calls ?? [];
|
|
30840
30840
|
const hasToolCalls = toolCalls.length > 0;
|
|
30841
|
+
if (!text && !hasToolCalls && !(showReasoning && message.reasoning) && !message.blocks?.some((block) => block.type === "tool_ui")) {
|
|
30842
|
+
return null;
|
|
30843
|
+
}
|
|
30841
30844
|
return /* @__PURE__ */ jsxs30("div", { className: "flex flex-col gap-2", children: [
|
|
30842
30845
|
showReasoning && message.reasoning && /* @__PURE__ */ jsxs30(Reasoning, { isStreaming, children: [
|
|
30843
30846
|
/* @__PURE__ */ jsx35(ReasoningTrigger, { wordCount: message.reasoning.length }),
|
|
@@ -40888,4 +40891,4 @@ use-stick-to-bottom/dist/StickToBottom.js:
|
|
|
40888
40891
|
js-yaml/dist/js-yaml.mjs:
|
|
40889
40892
|
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
|
|
40890
40893
|
*/
|
|
40891
|
-
//# sourceMappingURL=chunk-
|
|
40894
|
+
//# sourceMappingURL=chunk-APE7QR3M.js.map
|