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