Create and add a run to the run map for tool start events. This must sometimes be done synchronously to avoid race conditions when callbacks are backgrounded, so we expose it as a separate method here.
_createRunForToolStart(
tool: Serialized,
input: string,
runId: string,
parentRunId: string,
tags: string[],
metadata: KVMap,
name: string
): __type| Name | Type | Description |
|---|---|---|
tool* | Serialized | |
input* | string | |
runId* | string | |
parentRunId | string | |
tags | string[] | |
metadata | KVMap | |
name | string |