Skip to main content

Python class

StreamOptionsParam

StreamOptionsParamโ€‹

class max.pipelines.request.StreamOptionsParam(*, include_usage=None)

source

Bases: BaseModel

Options for streaming responses.

Parameters:

include_usage (bool | None)

include_usageโ€‹

include_usage: bool | None

source

model_configโ€‹

model_config: ClassVar[ConfigDict] = {'frozen': True}

source

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].