feat(core): Update LLM applications building support (no-changelog) (#7418)

extracted out of #7336

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: OlegIvaniv <me@olegivaniv.com>
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
Co-authored-by: Val <68596159+valya@users.noreply.github.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: Deborah <deborah@starfallprojects.co.uk>
Co-authored-by: Jesper Bylund <mail@jesperbylund.com>
Co-authored-by: Jon <jonathan.bennetts@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-10-20 10:52:56 +02:00
committed by GitHub
parent 34f3f8001e
commit 91dfc4d513
14 changed files with 93 additions and 74 deletions

View File

@@ -87,7 +87,7 @@
</template>
<template #content v-if="outputMode === 'logs'">
<run-data-ai :node="node" />
<run-data-ai :node="node" :run-index="runIndex" />
</template>
<template #recovered-artificial-output-data>
<div :class="$style.recoveredOutputData">
@@ -184,11 +184,11 @@ export default defineComponent({
if (this.node) {
const resultData = this.workflowsStore.getWorkflowResultDataByNodeName(this.node.name);
if (!resultData || !Array.isArray(resultData)) {
if (!resultData || !Array.isArray(resultData) || resultData.length === 0) {
return false;
}
return !!resultData[resultData.length - 1!].metadata;
return !!resultData[resultData.length - 1].metadata;
}
return false;
},