Skip to content
providerkit
GitHub

ScriptedAnswer

type ScriptedAnswer = object &
| object &
| ScriptedDecision
| {
ask: "client";
decision: Extract<Decision, {
type: ... | ... | ...;
}>;
}
| object & ScriptedDecision;

Defined in: agents/src/evals/types.ts:64

Trusted test-driver data, never loaded by readCases. Each answer is consumed once. Match exact agent/tool or workflow/step identities and question keys, not request prose. More than one unused match leaves the request pending; script order grants no authority.

optional path?: readonly string[];

Child keys from the root. Omitted means root-only, never any delegated child.