StreamOptions

StreamOptions
StreamOptions

Options for streaming response. Only set this when you set stream: true.

JSON Example
{
    "include_usage": false
}
boolean
include_usage
Optional

If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request.