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

Method onAgentAction

packages/components/src/MetricsLogger.ts:125–134  ·  view source on GitHub ↗
(run: Run)

Source from the content-addressed store, hash-verified

123 }
124
125 onAgentAction(run: Run) {
126 const agentRun = run as AgentRun
127 const crumbs = this.getBreadcrumbs(run)
128 this.logger.verbose(
129 `[${this.orgId}]: [agent/action] [${crumbs}] Agent selected action: ${tryJsonStringify(
130 agentRun.actions[agentRun.actions.length - 1],
131 '[action]'
132 )}`
133 )
134 }
135}

Callers

nothing calls this directly

Calls 2

getBreadcrumbsMethod · 0.95
tryJsonStringifyFunction · 0.90

Tested by

no test coverage detected