AbstractOpenAILLMClient
constructor(apiKey: String, settings: OpenAIBasedSettings, baseClient: HttpClient = HttpClient(), clock: Clock = Clock.System, logger: KLogger)(source)
Parameters
apiKey
The API key for authentication with the OpenAI-compatible API.
settings
Configuration settings including base URL, API paths, and timeout configuration.
baseClient
The HTTP client to use for API requests. Defaults to a new HttpClient instance.
clock
Clock instance used for tracking response metadata timestamps. Defaults to Clock.System.