respondsStream
infix fun respondsStream(block: suspend AnthropicStreamingChatResponseSpecification.() -> Unit)(source)
Configures a streaming response for a chat completions request by applying the provided specifications.
This function sets up a chunked response where the response is streamed as a series of SSE objects. It allows the specification of response content and other streaming-specific details through a configuration block.
Parameters
block
A configuration block that customizes the streaming response by applying specifications to an instance of AnthropicStreamingChatResponseSpecification.