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

Method onLLMEnd

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

Source from the content-addressed store, hash-verified

81 }
82
83 onLLMEnd(run: Run) {
84 const crumbs = this.getBreadcrumbs(run)
85 this.logger.verbose(
86 `[${this.orgId}]: [llm/end] [${crumbs}] [${elapsed(run)}] Exiting LLM run with output: ${tryJsonStringify(
87 run.outputs,
88 '[response]'
89 )}`
90 )
91 }
92
93 onLLMError(run: Run) {
94 const crumbs = this.getBreadcrumbs(run)

Callers

nothing calls this directly

Calls 3

getBreadcrumbsMethod · 0.95
elapsedFunction · 0.90
tryJsonStringifyFunction · 0.90

Tested by

no test coverage detected