langsmith
Version:
Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.
13 lines (12 loc) • 564 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies */
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore Import throws an error in internal CJS build, but seems to work fine after build
import { DefaultReporter } from "vitest/reporters";
import { printVitestReporterTable } from "./utils/reporter.js";
class LangSmithEvalReporter extends DefaultReporter {
async onFinished(files, errors) {
super.onFinished(files, errors);
await printVitestReporterTable(files, this.ctx);
}
}
export default LangSmithEvalReporter;