Companion

object Companion

Functions

Link copied to clipboard
fun fromEnv(customName: String = "AI_API_KEY", onNotFound: (KeyNotFoundException) -> String? = null): ApiKey

Creates an ApiKey from an environment variable.