DeepSeekClientStream

Creates a new instance of DeepSeekClientStream with optional configuration.

This constructor function creates a streaming-capable client for receiving real-time responses from the DeepSeek API, with optional advanced configuration.

Example:

// Simple streaming client with API token
val streamClient = DeepSeekClientStream("your-api-token")

// Stream client with custom configuration
val customStreamClient = DeepSeekClientStream("your-api-token") {
fimCompletionTimeout(90000)
}

Return

A new DeepSeekClientStream instance

Parameters

token

The DeepSeek API token for authentication

block

Configuration block for additional customization