Skip to content

Function: summarizeText()

summarizeText(config, text, options?): Promise<string>

Summarize text with the small-tier summarizer agent, returning the trimmed summary string. Throws on model failure (the caller decides how to degrade).

MastraPluginConfig

string

SummarizeOptions = {}

Promise<string>