Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Fix: compatible with outputs data structure (#11432)
KVOJJJin1490a19fa1d3
diff --git a/web/app/components/base/file-uploader/utils.ts b/web/app/components/base/file-uploader/utils.tsindex 8c752fde8ab..a04d6359d35 100644--- a/web/app/components/base/file-uploader/utils.ts+++ b/web/app/components/base/file-uploader/utils.ts@@ -158,13 +158,13 @@ export const isAllowedFileExtension = (fileName: string, fileMimetype: string, aexport const getFilesInLogs = (rawData: any) => {const result = Object.keys(rawData || {}).map((key) => {- if (typeof rawData[key] === 'object' && rawData[key].dify_model_identity === '__dify__file__') {+ if (typeof rawData[key] === 'object' && rawData[key]?.dify_model_identity === '__dify__file__') {return {varName: key,list: getProcessedFilesFromResponse([rawData[key]]),}}- if (Array.isArray(rawData[key]) && rawData[key].some(item => item.dify_model_identity === '__dify__file__')) {+ if (Array.isArray(rawData[key]) && rawData[key].some(item => item?.dify_model_identity === '__dify__file__')) {return {varName: key,list: getProcessedFilesFromResponse(rawData[key]),diff --git a/web/app/components/workflow/run/output-panel.tsx b/web/app/components/workflow/run/output-panel.tsxindex 9904079eda5..a1667d9b456 100644--- a/web/app/components/workflow/run/output-panel.tsx+++ b/web/app/components/workflow/run/output-panel.tsx@@ -35,12 +35,12 @@ const OutputPanel: FC<OutputPanelProps> = ({for (const key in outputs) {if (Array.isArray(outputs[key])) {outputs[key].map((output: any) => {- if (output.dify_model_identity === '__dify__file__')+ if (output?.dify_model_identity === '__dify__file__')fileList.push(output)return null})}- else if (outputs[key].dify_model_identity === '__dify__file__') {+ else if (outputs[key]?.dify_model_identity === '__dify__file__') {fileList.push(outputs[key])}}