Skip to content
Français

HarnessInstructionsOption

import type { HarnessInstructionsOption } from "@elie-laloum/outpost";

The fields below cover all variants; the signature specifies their allowed combinations.

  • kindVariant-dependent
    "instructions"
    Definition discriminator: instructions.
  • resolveVariant-dependent
    (context: HarnessInstructionContext) => Promise<string>
    Produce the instruction text for one turn from its context.
export type HarnessInstructionsOption =
  string | HarnessInstructions | readonly (string | HarnessInstructions)[];