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

Method onToolEnd

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

Source from the content-addressed store, hash-verified

106 }
107
108 onToolEnd(run: Run) {
109 const crumbs = this.getBreadcrumbs(run)
110 this.logger.verbose(
111 `[${this.orgId}]: [tool/end] [${crumbs}] [${elapsed(run)}] Exiting Tool run with output: "${run.outputs?.output?.trim()}"`
112 )
113 }
114
115 onToolError(run: Run) {
116 const crumbs = this.getBreadcrumbs(run)

Callers

nothing calls this directly

Calls 2

getBreadcrumbsMethod · 0.95
elapsedFunction · 0.90

Tested by

no test coverage detected