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

Method reset

packages/components/src/agents.ts:120–124  ·  view source on GitHub ↗

* Reset the iterator to its initial state, clearing intermediate steps, * iterations, and the final output.

()

Source from the content-addressed store, hash-verified

118 * iterations, and the final output.
119 */
120 reset(): void {
121 this.intermediateSteps = []
122 this.iterations = 0
123 this._finalOutputs = undefined
124 }
125
126 updateIterations(): void {
127 this.iterations += 1

Callers 1

streamIteratorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected