ApiKey

value class ApiKey(val value: String)

API key for authenticating with the OpenAI service.

Wraps a string value and provides utilities for loading the key from environment variables.

Constructors

Link copied to clipboard
constructor(value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The API key string.

Functions

Link copied to clipboard
open override fun toString(): String