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

Method onLLMError

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

Source from the content-addressed store, hash-verified

295 }
296
297 onLLMError(run: Run) {
298 const crumbs = this.getBreadcrumbs(run)
299 this.logger.verbose(
300 `[${this.orgId}]: [llm/error] [${crumbs}] [${elapsed(run)}] LLM run errored with error: ${tryJsonStringify(
301 run.error,
302 '[error]'
303 )}`
304 )
305 }
306
307 onToolStart(run: Run) {
308 const crumbs = this.getBreadcrumbs(run)

Callers

nothing calls this directly

Calls 3

getBreadcrumbsMethod · 0.95
tryJsonStringifyFunction · 0.85
elapsedFunction · 0.70

Tested by

no test coverage detected