MistralAILLMClient
constructor(settings: MistralAIClientSettings = MistralAIClientSettings(), httpClient: KoogHttpClient, clock: KoogClock = KoogClock.System, toolsConverter: OpenAICompatibleToolDescriptorSchemaGenerator = OpenAICompatibleToolDescriptorSchemaGenerator())(source)
Parameters
settings
The base URL, chat completion path, and timeouts for the Mistral AI
httpClient
A fully configured KoogHttpClient for making API requests. Use the secondary constructor that accepts an API key and a KoogHttpClient.Factory to create a client with standard defaults.
clock
Clock instance used for tracking response metadata timestamps
constructor(apiKey: String, settings: MistralAIClientSettings = MistralAIClientSettings(), httpClientFactory: KoogHttpClient.Factory, clock: KoogClock = KoogClock.System, toolsConverter: OpenAICompatibleToolDescriptorSchemaGenerator = OpenAICompatibleToolDescriptorSchemaGenerator())(source)