buildValidated

abstract fun buildValidated(): LlmService<*>

Validates the configured API key with a single probe call and returns a production LlmService on success.

Throws

if the key is invalid or the provider is unreachable.