responseStreamParams

Creates streaming Responses API parameters using a builder.

The resulting parameters have stream set to true.

Example:

val params = responseStreamParams {
model = ChatModel.DEEPSEEK_FLASH
instructions = "You are a helpful assistant."
}

Return

Configured ResponseParams instance with streaming enabled

Parameters

block

Configuration block for setting parameter values