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

Method onLLMStart

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

Source from the content-addressed store, hash-verified

279 }
280
281 onLLMStart(run: Run) {
282 const crumbs = this.getBreadcrumbs(run)
283 const inputs = 'prompts' in run.inputs ? { prompts: (run.inputs.prompts as string[]).map((p) => p.trim()) } : run.inputs
284 this.logger.verbose(`[${this.orgId}]: [llm/start] [${crumbs}] Entering LLM run with input: ${tryJsonStringify(inputs, '[inputs]')}`)
285 }
286
287 onLLMEnd(run: Run) {
288 const crumbs = this.getBreadcrumbs(run)

Callers

nothing calls this directly

Calls 2

getBreadcrumbsMethod · 0.95
tryJsonStringifyFunction · 0.85

Tested by

no test coverage detected