Skip to content
Prompty

StreamOptions

Options controlling streaming behavior for LLM API calls. Passed alongside the model options when streaming is enabled.

---
title: StreamOptions
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class StreamOptions {
        +boolean includeUsage
    }
includeUsage: true
Name Type Description
includeUsage boolean When true, the final streaming chunk includes token usage statistics