effect-io-ai

Package: @effect/ai-openai-compat
Module: OpenAiClient

OpenAiClient.Options

Configuration options used to construct an OpenAI-compatible client.

Signature

type Options = {
  readonly apiKey?: Redacted.Redacted<string> | undefined
  readonly apiUrl?: string | undefined
  readonly organizationId?: Redacted.Redacted<string> | undefined
  readonly projectId?: Redacted.Redacted<string> | undefined
  readonly transformClient?: ((client: HttpClient.HttpClient) => HttpClient.HttpClient) | undefined
}

Source

Since v4.0.0