MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / setFinalOutputs

Method setFinalOutputs

packages/components/src/agents.ts:84–90  ·  view source on GitHub ↗

Intended to be used as a setter method, needs to be async.

(value: Record<string, unknown> | undefined)

Source from the content-addressed store, hash-verified

82
83 /** Intended to be used as a setter method, needs to be async. */
84 async setFinalOutputs(value: Record<string, unknown> | undefined) {
85 this._finalOutputs = undefined
86 if (value) {
87 const preparedOutputs: Record<string, unknown> = await this.agentExecutor.prepOutputs(this.inputs, value, true)
88 this._finalOutputs = preparedOutputs
89 }
90 }
91
92 runManager: CallbackManagerForChainRun | undefined
93

Callers 2

_stopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected