(run: Run)
| 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) |
nothing calls this directly
no test coverage detected