Skip to content

Commit

Permalink
make public
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Feb 14, 2024
1 parent 59cee55 commit d30e954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions langchain-core/src/tracers/tracer_langchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ export class LangChainTracer

protected async persistRun(_run: Run): Promise<void> {}

protected async onRunCreate(run: Run): Promise<void> {
async onRunCreate(run: Run): Promise<void> {
const persistedRun: RunCreate = await this._convertToCreate(
run,
this.exampleId
);
await this.client.createRun(persistedRun);
}

protected async onRunUpdate(run: Run): Promise<void> {
async onRunUpdate(run: Run): Promise<void> {
const runUpdate: RunUpdate = {
end_time: run.end_time,
error: run.error,
Expand Down

0 comments on commit d30e954

Please sign in to comment.