@gendive/chatllm 0.21.2 → 0.21.4
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 +3 -57
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +3 -57
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -2819,6 +2819,7 @@ ${capabilityFeatures.join("\n\n")}
|
|
|
2819
2819
|
const recentCount = msgCount - (session.compressionState.summaryAfterIndex || 0);
|
|
2820
2820
|
if (recentCount <= 2) return true;
|
|
2821
2821
|
}
|
|
2822
|
+
if (enableChecklist && !autoExecuteChecklist && session.messages.some((m) => m.checklistBlock)) return true;
|
|
2822
2823
|
return false;
|
|
2823
2824
|
})();
|
|
2824
2825
|
if (enablePoll && shouldIncludePoll) {
|
|
@@ -2996,7 +2997,7 @@ AI (\uD655\uC815):
|
|
|
2996
2997
|
ref_step\uC740 1\uBD80\uD130 \uC2DC\uC791\uD558\uB294 \uB2E8\uACC4 \uBC88\uD638, ref_image="last"\uB294 \uAC00\uC7A5 \uCD5C\uADFC \uC774\uBBF8\uC9C0
|
|
2997
2998
|
- \uBAA8\uB4E0 \uC18D\uC131\uC740 \uC120\uD0DD\uC0AC\uD56D\uC774\uBA70, \uD544\uC694\uD55C \uACBD\uC6B0\uC5D0\uB9CC \uC0AC\uC6A9\uD558\uC138\uC694`);
|
|
2998
2999
|
} else {
|
|
2999
|
-
parts.push(`## \uCCB4\uD06C\uB9AC\uC2A4\uD2B8: \uBCF5\uD569 \uC791\uC5C5 \uC2DC <checklist><step>\uC81C\uBAA9</step></checklist>\uB85C \uCD08\uC548 \uC81C\uC2DC \u2192 \uC720\uC800 \uD655\uC778/\uC218\uC815 \u2192 \uD655\uC815 <checklist> \uB2E4\uC2DC \uCD9C\uB825. \uB2E8\uC21C\uC778\uC0AC\xB7\uB2E8\uC77C\uC0AC\uC2E4\xB7\uB2E8\uC77C\uC791\uC5C5\uC740 \uBC14\uB85C \uB2F5\uBCC0
|
|
3000
|
+
parts.push(`## \uCCB4\uD06C\uB9AC\uC2A4\uD2B8: \uBCF5\uD569 \uC791\uC5C5 \uC2DC <checklist><step>\uC81C\uBAA9</step></checklist>\uB85C \uCD08\uC548 \uC81C\uC2DC \u2192 \uC720\uC800 \uD655\uC778/\uC218\uC815 \u2192 \uD655\uC815 <checklist> \uB2E4\uC2DC \uCD9C\uB825. \uB2E8\uC21C\uC778\uC0AC\xB7\uB2E8\uC77C\uC0AC\uC2E4\xB7\uB2E8\uC77C\uC791\uC5C5\uC740 \uBC14\uB85C \uB2F5\uBCC0. **\uD544\uC218: \uC720\uC800\uAC00 \uC2B9\uC778("\uC751", "\uC9C4\uD589\uD574", "\uC88B\uC544" \uB4F1)\uD558\uBA74 \uD14D\uC2A4\uD2B8 \uC124\uBA85 \uC5C6\uC774 \uC989\uC2DC <checklist> \uD0DC\uADF8\uB97C \uB2E4\uC2DC \uCD9C\uB825\uD558\uC138\uC694.**`);
|
|
3000
3001
|
}
|
|
3001
3002
|
}
|
|
3002
3003
|
}
|
|
@@ -11500,7 +11501,7 @@ var MessageList = ({
|
|
|
11500
11501
|
MessageBubble,
|
|
11501
11502
|
{
|
|
11502
11503
|
message,
|
|
11503
|
-
isLoading: isLoading && index === messages.length - 1 && message.role === "assistant",
|
|
11504
|
+
isLoading: isLoading && index === messages.length - 1 && message.role === "assistant" && !(activeSkillExecution && activeSkillExecution.status === "executing"),
|
|
11504
11505
|
isCopied: copiedId === message.id,
|
|
11505
11506
|
isEditing: editingId === message.id,
|
|
11506
11507
|
onCopy: () => onCopy(message.content, message.id),
|
|
@@ -11535,61 +11536,6 @@ var MessageList = ({
|
|
|
11535
11536
|
);
|
|
11536
11537
|
return renderMessage ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react19.default.Fragment, { children: renderMessage(message, bubbleElement) }, message.id) : bubbleElement;
|
|
11537
11538
|
}),
|
|
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
11539
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { ref: messagesEndRef })
|
|
11594
11540
|
]
|
|
11595
11541
|
}
|