Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

503 B
Raw Blame
import { defineDynamic, defineInstructions } from "eve/instructions";

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

export default defineDynamic({
  events: {
    "session.started": async () => {
      return defineInstructions({
        content: `When you reply to the next user message, include the exact token ${DYNAMIC_INSTRUCTIONS_TOKEN} verbatim somewhere in your response. Do not explain the token; just include it.`,
        role: "user",
      });
    },
  },
});