Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

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

const ECHO_MARKER_TOKEN = "skill-echo-marker-ok-V8Y2";

/**
 * Skill smoke eval:
 * a flat markdown skill (skills/echo-marker.md) is advertised, loaded on
 * demand with `eve__skill({ name })`, and its body shapes the reply: the skill
 * instructs an exact-token response.
 */
export default defineEval({
  tags: ["real-model"],
  description: "Skills smoke: markdown skill auto-invocation.",
  async test(t) {
    await t.send("Please use the echo marker skill and follow its instructions exactly.");

    t.succeeded();
    t.loadedSkill("echo-marker");
    t.noFailedActions();
    t.messageIncludes(ECHO_MARKER_TOKEN);
  },
});