File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -531,35 +531,6 @@ export function Chat() {
531531 return
532532 }
533533
534- if (
535- selectedOutputs.length > 0 &&
536- 'logs' in result &&
537- Array.isArray(result.logs) &&
538- activeWorkflowId
539- ) {
540- const additionalOutputs: string[] = []
541-
542- for (const outputId of selectedOutputs) {
543- const blockId = extractBlockIdFromOutputId(outputId)
544- const path = extractPathFromOutputId(outputId, blockId)
545-
546- if (path === 'content') continue
547-
548- const outputValue = extractOutputFromLogs(result.logs as BlockLog[], outputId)
549- if (outputValue !== undefined) {
550- const formattedValue =
551- typeof outputValue === 'string' ? outputValue : JSON.stringify(outputValue)
552- if (formattedValue) {
553- additionalOutputs.push(`**${path}:** ${formattedValue}`)
554- }
555- }
556- }
557-
558- if (additionalOutputs.length > 0) {
559- appendMessageContent(responseMessageId, `\n\n${additionalOutputs.join('\n\n')}`)
560- }
561- }
562-
563534 finalizeMessageStream(responseMessageId)
564535 } else if (contentChunk) {
565536 accumulatedContent += contentChunk
You can’t perform that action at this time.
0 commit comments