ollamaLLMClient

@Bean
@ConditionalOnProperty(prefix = "ai.koog.ollama", name = ["enabled"], havingValue = "true")
fun ollamaLLMClient(): OllamaClient(source)

Creates an OllamaClient bean configured with application properties.

This method initializes a OllamaClient using the API key and base URL specified in the application's configuration. It is only executed if the koog.ai.ollama.enabled property is set to true in the application configuration.

Return

An OllamaClient instance configured with the provided settings.