openAILLMClient
@Bean
@ConditionalOnProperty(prefix = "ai.koog.openai", name = ["enabled"], havingValue = "true")
Creates an OpenAILLMClient bean configured with application properties.
This method initializes a OpenAILLMClient using the API key and base URL specified in the application's configuration. It is only executed if the koog.ai.openai.api-key
property is defined and koog.ai.openai.enabled
property is set to true
in the application configuration.
Return
An OpenAILLMClient instance configured with the provided settings.