Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

514 B
Raw Blame
import { defineEval } from "eve/evals";

export default defineEval({
  description:
    "The root can hide its built-in agent tool while an authored workflow still invokes it.",
  async test(t) {
    const turn = await t.send("Verify the root agent tool surface.");

    turn.expectOk();
    turn.messageIncludes("INTERNAL-ROOT-COPY-OK");
    turn.calledTool("invoke-self", { count: 1 });
    turn.event("agent.started", { count: 1, data: { name: "agent" } });
    t.succeeded();
    t.noFailedActions();
  },
});