Builder

abstract class Builder(token: String? = null)

Base builder class for configuring DeepSeek clients.

Provides common configuration options that apply to all DeepSeek client types.

Parameters

token

The DeepSeek API token for authentication

Inheritors

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.