Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / summarizeOutput

Function: summarizeOutput()

ts
function summarizeOutput(result): string;

Defined in: packages/core/dist/index.d.ts

The M6 outputSummary: a deterministic truncation of the child's output (or error message), identical live and on replay (distillation lives with the child, ordered by spawn ordinal; the LLM distillation upgrade is M7 territory).

Parameters

ParameterType
resultAgentResult<unknown>

Returns

string