A configured TypeSafe API client.
Build one with TypeSafe.new/1 (or TypeSafe.Client.new/1) and pass it to TypeSafe.system_one/4
and TypeSafe.list_models/2. The struct wraps a reusable Req.Request holding the base URL,
authentication, default headers and retry policy, plus the default model.
A client is an immutable value: it starts no processes and is safe to build once and share across processes and requests.
Summary
Functions
Build a client. See TypeSafe.new/1 for the full list of options.
Types
@type t() :: %TypeSafe.Client{config: TypeSafe.Config.t(), req: Req.Request.t()}
Functions
Build a client. See TypeSafe.new/1 for the full list of options.