UNPKG

mastra

Version:
15 lines (14 loc) 411 B
// @ts-ignore import { scoreTracesWorkflow } from '@mastra/core/evals/scoreTraces'; import { mastra } from '#mastra'; import { createNodeServer, getToolExports } from '#server'; import { tools } from '#tools'; // @ts-ignore await createNodeServer(mastra, { studio: true, isDev: true, tools: getToolExports(tools), }); if (mastra.getStorage()) { mastra.__registerInternalWorkflow(scoreTracesWorkflow); }