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

Method onLLMError

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

Source from the content-addressed store, hash-verified

91 }
92
93 onLLMError(run: Run) {
94 const crumbs = this.getBreadcrumbs(run)
95 this.logger.verbose(
96 `[${this.orgId}]: [llm/error] [${crumbs}] [${elapsed(run)}] LLM run errored with error: ${tryJsonStringify(
97 run.error,
98 '[error]'
99 )}`
100 )
101 }
102
103 onToolStart(run: Run) {
104 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