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

Method onAgentAction

packages/components/src/handler.ts:329–338  ·  view source on GitHub ↗
(run: Run)

Source from the content-addressed store, hash-verified

327 }
328
329 onAgentAction(run: Run) {
330 const agentRun = run as AgentRun
331 const crumbs = this.getBreadcrumbs(run)
332 this.logger.verbose(
333 `[${this.orgId}]: [agent/action] [${crumbs}] Agent selected action: ${tryJsonStringify(
334 agentRun.actions[agentRun.actions.length - 1],
335 '[action]'
336 )}`
337 )
338 }
339}
340
341/**

Callers

nothing calls this directly

Calls 2

getBreadcrumbsMethod · 0.95
tryJsonStringifyFunction · 0.85

Tested by

no test coverage detected