SummarizeResult
Defined in: src/models/summarize.ts:31
Result of a Model.summarize call.
Properties
Section titled “Properties”content
Section titled “content”content: ContentBlock[];Defined in: src/models/summarize.ts:36
The summary as summaryBlocks, empty when the model wrote none. Every built-in implementation returns at most
one block; a caller that places one summary uses the first.
usage?
Section titled “usage?”usage?: Usage;Defined in: src/models/summarize.ts:42
Token usage of the calls made for the summary, undefined when an implementation reports none. The base
implementation always reports usage, with zero counts when the provider sent none.