(run: Run)
| 75 | } |
| 76 | |
| 77 | onLLMStart(run: Run) { |
| 78 | const crumbs = this.getBreadcrumbs(run) |
| 79 | const inputs = 'prompts' in run.inputs ? { prompts: (run.inputs.prompts as string[]).map((p) => p.trim()) } : run.inputs |
| 80 | this.logger.verbose(`[${this.orgId}]: [llm/start] [${crumbs}] Entering LLM run with input: ${tryJsonStringify(inputs, '[inputs]')}`) |
| 81 | } |
| 82 | |
| 83 | onLLMEnd(run: Run) { |
| 84 | const crumbs = this.getBreadcrumbs(run) |
nothing calls this directly
no test coverage detected