RedactPayloadTextParams
Defined in: src/redact.ts:34
Parameters for redactPayloadText.
Properties
Section titled “Properties”field: "error" | "cause" | "output" | "input";Defined in: src/redact.ts:36
Which of a run’s texts this is.
redact?
Section titled “redact?”redact?: RedactCallback;Defined in: src/redact.ts:38
The caller’s hook. Omit it and text is returned unchanged.
stateId?
Section titled “stateId?”stateId?: string;Defined in: src/redact.ts:40
Node id of the state the run belongs to; omitted for an execution-level cause.
text: string;Defined in: src/redact.ts:42
The payload as it would otherwise be inlined, already capped.