Interface: CompletedGeneration
Completed AI SDK generation data used by non-streaming encoders.
Properties
Section titled “Properties”finishReason
Section titled “finishReason”
readonlyfinishReason:FinishReason
readonlytext:string
toolCalls
Section titled “toolCalls”
readonlytoolCalls: readonlyTypedToolCall<ToolSet>[]
readonlyusage:LanguageModelUsage