@gendive/chatllm 0.21.1 → 0.21.2
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
CHANGED
|
@@ -4469,6 +4469,7 @@ ${refContents}
|
|
|
4469
4469
|
setTimeout(() => {
|
|
4470
4470
|
const nextItem = checklist.items[nextStep];
|
|
4471
4471
|
const refUrl = resolveChecklistRefImage(nextItem, checklist.messageId, checklist.sessionId);
|
|
4472
|
+
if (refUrl) pendingAttachmentDataRef.current = [{ name: "ref_image", mimeType: "image/png", base64: "", size: 0, url: refUrl }];
|
|
4472
4473
|
sendMessage(
|
|
4473
4474
|
buildChecklistStepPrompt(nextStep, checklist.items.length, nextItem, false, refUrl),
|
|
4474
4475
|
{ hiddenUserMessage: true, isChecklistExecution: true, checklistStep: { index: nextStep, title: nextItem.title } }
|
|
@@ -4575,6 +4576,7 @@ ${stepSummary}
|
|
|
4575
4576
|
setTimeout(() => {
|
|
4576
4577
|
const firstItem = checklistBlock.items[0];
|
|
4577
4578
|
const refUrl = resolveChecklistRefImage(firstItem, assistantMessageId, capturedSessionId);
|
|
4579
|
+
if (refUrl) pendingAttachmentDataRef.current = [{ name: "ref_image", mimeType: "image/png", base64: "", size: 0, url: refUrl }];
|
|
4578
4580
|
sendMessage(
|
|
4579
4581
|
buildChecklistStepPrompt(0, checklistBlock.items.length, firstItem, true, refUrl),
|
|
4580
4582
|
{ hiddenUserMessage: true, isChecklistExecution: true, checklistStep: { index: 0, title: firstItem.title } }
|
|
@@ -4736,6 +4738,7 @@ ${stepSummary}
|
|
|
4736
4738
|
setTimeout(() => {
|
|
4737
4739
|
const items = message.checklistBlock.items;
|
|
4738
4740
|
const refUrl = resolveChecklistRefImage(items[0], messageId, session.id);
|
|
4741
|
+
if (refUrl) pendingAttachmentDataRef.current = [{ name: "ref_image", mimeType: "image/png", base64: "", size: 0, url: refUrl }];
|
|
4739
4742
|
sendMessage(
|
|
4740
4743
|
buildChecklistStepPrompt(0, items.length, items[0], true, refUrl),
|
|
4741
4744
|
{ hiddenUserMessage: true, isChecklistExecution: true, checklistStep: { index: 0, title: items[0].title } }
|
|
@@ -4814,6 +4817,7 @@ ${stepSummary}
|
|
|
4814
4817
|
setTimeout(() => {
|
|
4815
4818
|
const items = message.checklistBlock.items;
|
|
4816
4819
|
const refUrl = resolveChecklistRefImage(items[stepIndex], messageId, session.id);
|
|
4820
|
+
if (refUrl) pendingAttachmentDataRef.current = [{ name: "ref_image", mimeType: "image/png", base64: "", size: 0, url: refUrl }];
|
|
4817
4821
|
sendMessage(
|
|
4818
4822
|
buildChecklistStepPrompt(stepIndex, items.length, items[stepIndex], stepIndex === 0, refUrl),
|
|
4819
4823
|
{ hiddenUserMessage: true, isChecklistExecution: true, checklistStep: { index: stepIndex, title: items[stepIndex].title } }
|
|
@@ -4890,6 +4894,7 @@ ${stepSummary}
|
|
|
4890
4894
|
setTimeout(() => {
|
|
4891
4895
|
const items = message.checklistBlock.items;
|
|
4892
4896
|
const refUrl = resolveChecklistRefImage(items[nextPending], messageId, session.id);
|
|
4897
|
+
if (refUrl) pendingAttachmentDataRef.current = [{ name: "ref_image", mimeType: "image/png", base64: "", size: 0, url: refUrl }];
|
|
4893
4898
|
sendMessage(
|
|
4894
4899
|
buildChecklistStepPrompt(nextPending, items.length, items[nextPending], false, refUrl),
|
|
4895
4900
|
{ hiddenUserMessage: true, isChecklistExecution: true, checklistStep: { index: nextPending, title: items[nextPending].title } }
|