Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

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

const DYNAMIC_INSTRUCTIONS_TOKEN = "dynamic-instructions-ok-M3K8";

/**
 * Skill smoke eval:
 * `defineDynamic` + `defineInstructions` (instructions/dynamic-context.ts)
 * resolves at session start and appends a durable user message; the reply
 * honors its exact-token directive, proving delivery.
 */
export default defineEval({
  description: "Skills smoke: dynamic user instructions append at session start.",
  async test(t) {
    await t.send("Acknowledge this message.");

    t.succeeded();
    t.messageIncludes(DYNAMIC_INSTRUCTIONS_TOKEN);
  },
});