ReasoningMockResponse type
A scripted response the mock provider should emit on a given request.
Test-only — used with ReasoningMockProvider. Should not be used in production workflows.
Signature:
export type ReasoningMockResponse = {
kind: "text";
text: string;
} | {
kind: "function_call";
name: string;
argumentsJson: string;
} | {
kind: "error";
errorKind: string;
message?: string;
};