Package: @effect/ai-openai-compat
Module: OpenAiClient
Creates a layer that provides an OpenAI-compatible client from explicit options.
When to use
Use to install OpenAiClient in an application layer when the client options
are already available as values rather than loaded from Config.
See
make for constructing the client service effectfullylayerConfig for loading client settings from ConfigSignature
declare const layer: (options: Options) => Layer.Layer<OpenAiClient, never, HttpClient.HttpClient>
Since v4.0.0