Get AI metrics from a Vercel AI SDK streaming result.
Awaits the stream's terminal promises and prefers totalUsage over usage for cumulative usage across all steps.
totalUsage
usage
Generated using TypeDoc
Get AI metrics from a Vercel AI SDK streaming result.
Awaits the stream's terminal promises and prefers
totalUsageoverusagefor cumulative usage across all steps.