Skip to content
TypeScript
702 B
Raw Blame
import {
  MESSAGE_STEERING_INITIAL_PROMPT,
  MESSAGE_STEERING_STEER_PROMPT,
  type OrchestratorFixtureInput,
} from "../shared.ts";

export function messageSteeringInput(): OrchestratorFixtureInput {
  return {
    steps: [
      { type: "message", text: MESSAGE_STEERING_INITIAL_PROMPT },
      {
        type: "steer",
        text: MESSAGE_STEERING_STEER_PROMPT,
        targetRunIndex: 1,
      },
    ],
  };
}

export function messageRestartInput(): OrchestratorFixtureInput {
  return {
    steps: [
      { type: "message", text: MESSAGE_STEERING_INITIAL_PROMPT },
      {
        type: "restart",
        text: MESSAGE_STEERING_STEER_PROMPT,
        targetRunIndex: 1,
      },
    ],
  };
}