Builder

class Builder(token: String? = null) : DeepSeekClientBase.Builder

Builder for configuring and creating DeepSeekClient instances.

Parameters

token

The DeepSeek API token for authentication

Constructors

Link copied to clipboard
constructor(token: String? = null)

Functions

Link copied to clipboard
Link copied to clipboard

Sets the timeout for chat completion requests.

Link copied to clipboard

Sets the timeout for file-in-the-middle completion requests.

Link copied to clipboard
fun httpClient(client: HttpClient): DeepSeekClientBase.Builder

fun httpClient(block: HttpClientConfig<*>.() -> Unit): DeepSeekClientBase.Builder

Configures the underlying HTTP client with custom settings.

Link copied to clipboard

Configures the JSON serialization and deserialization settings.