MistralAIKoogProperties

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

Configuration class for MistralAI settings in the Koog framework. This class defines properties required to configure and use MistralAI-related services, such as API keys, base URLs for the services, and optional retry configurations.

The class is annotated with @ConfigurationProperties to bind its fields to configuration file properties prefixed with ai.koog.mistral.

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 MistralAIKoogProperties class, providing constant values and utilities associated with the configuration of MistralAI-related properties.

Properties

Link copied to clipboard

The API key required to authenticate requests to the MistralAI API.

Link copied to clipboard
open override val baseUrl: String

The base URL for accessing the MistralAI API.

Link copied to clipboard
open override val enabled: Boolean

Determines if the MistralAI client is enabled.

Link copied to clipboard
open override val retry: RetryConfigKoogProperties?

Optional retry configuration settings, such as maximum attempts, delays, and backoff strategies.

Functions

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

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