openRouterLLMClient

@Bean
@ConditionalOnProperty(prefix = "ai.koog.openrouter", name = ["enabled"], havingValue = "true")
fun openRouterLLMClient(): OpenRouterLLMClient(source)

Creates an OpenRouterLLMClient bean configured with application properties.

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

Return

An OpenRouterLLMClient instance configured with the provided settings.