Skip to content
providerkit
GitHub

EvalDriver

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

optional answers?: readonly ScriptedAnswer[];

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


optional toolMocks?: readonly ToolMock[];

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

Applied only by factory.stub(), including code-only bindings. Unmatched calls fail closed. Direct and code paths share the same replacement object and current host checks. Replaces validation and execution: this does not test the real backend’s checks.