DeepSeekKoogProperties

@ConfigurationProperties(prefix = "ai.koog.deepseek", ignoreUnknownFields = true)
class DeepSeekKoogProperties(val enabled: Boolean, val apiKey: String, val baseUrl: String, val retry: RetryConfigKoogProperties? = null) : KoogLlmClientProperties(source)

Configuration properties class for DeepSeek LLM provider integration within the Koog framework.

This class is used to define and manage application-level configuration parameters for connecting to the DeepSeek provider. It includes properties such as API key, base URL, and optional retry settings.

The properties are auto-configured via Spring Boot's @ConfigurationProperties using the ai.koog.deepseek prefix.

Implements the KoogLlmClientProperties interface, which provides base attributes for all LLM client property configurations.

Properties from this class are typically consumed by auto-configuration classes, such as DeepSeekLLMAutoConfiguration, to initialize and configure the necessary beans for working with the DeepSeek API.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, apiKey: String, baseUrl: String, retry: RetryConfigKoogProperties? = null)

Types

Link copied to clipboard
object Companion

Companion object for the DeepSeekKoogProperties class, providing constant values and utilities associated with the configuration of DeepSeek-related properties.

Properties

Link copied to clipboard

An API key string required to authenticate requests to the DeepSeek external service.

Link copied to clipboard
open override val baseUrl: String

The base URL endpoint for DeepSeek API calls.

Link copied to clipboard
open override val enabled: Boolean

Indicates whether DeepSeek API integration is enabled (true or false).

Link copied to clipboard
open override val retry: RetryConfigKoogProperties? = null

Optional retry configuration for API requests, represented by RetryConfigKoogProperties.

Functions

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the DeepSeekKoogProperties object. The string includes information about the enabled status, a masked representation of the apiKey, the baseUrl, and the retry configuration.