baseUrl

Overrides the base URL of the DeepSeek API.

Defaults to https://api.deepseek.com. Supply a different URL to target a proxy, a mock server, or a region-specific endpoint.

Example:

val client = DeepSeekClient("token") {
baseUrl("https://proxy.internal/deepseek")
}

Return

This builder for chaining

Parameters

url

Fully-qualified base URL used by every request