create-team.eval.ts•840 B
import { describeEval } from "vitest-evals";
import { FIXTURES, NoOpTaskRunner, ToolPredictionScorer } from "./utils";
describeEval("create-team", {
data: async () => {
return [
{
input: `Create a new team in Sentry for '${FIXTURES.organizationSlug}' called 'the-goats' response with **only** the team slug and no other text.`,
expectedTools: [
{
name: "find_organizations",
arguments: {},
},
{
name: "create_team",
arguments: {
organizationSlug: FIXTURES.organizationSlug,
name: "the-goats",
regionUrl: "https://us.sentry.io",
},
},
],
},
];
},
task: NoOpTaskRunner(),
scorers: [ToolPredictionScorer()],
threshold: 0.6,
timeout: 30000,
});