Interface ScrollStreamResponse<T>

Streaming response from Scroll providers

interface ScrollStreamResponse<T> {
    content: T;
    tokenUsage?: TokenUsage;
    billingInfo?: BillingInfo;
    metadata?: Record<string, any>;
}

Type Parameters

  • T = string

Properties

content: T
tokenUsage?: TokenUsage
billingInfo?: BillingInfo
metadata?: Record<string, any>