Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

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

const DYNAMIC_MULTI_ALPHA_TOKEN = "dynamic-multi-alpha-Q8V3";

/**
 * Skill smoke eval:
 * a `defineDynamic` multi-skill resolver (skills/dynamic-multi.ts) exposes
 * map entries under derived ids (`alpha`); the alpha body
 * must land in the skill load's result and the reply.
 */
export default defineEval({
  tags: ["real-model"],
  description: "Skills smoke: dynamic skill-map resolution.",
  async test(t) {
    await t.send("Please use the dynamic multi alpha skill and follow its instructions exactly.");

    t.succeeded();
    t.loadedSkill("alpha", {
      output: new RegExp(DYNAMIC_MULTI_ALPHA_TOKEN, "u"),
    });
    t.messageIncludes(DYNAMIC_MULTI_ALPHA_TOKEN);
  },
});