openRouter
fun openRouter(apiKey: String, configure: KoogAgentsConfig.OpenRouterConfig.() -> Unit = {})(source)
Configures and initializes the OpenRouter API with the provided API key and optional configuration.
Parameters
apiKey
The API key used to authenticate with the OpenRouter API.
configure
An optional lambda function used to customize the OpenRouter configuration.