Repository navigation
@tanstack/openai-base@1.0.2
Patch Changes
-
#1973
374fb69- The adapters now call the provider HTTP API withfetchand do not create theopenaiSDK client. At runtime they load only small SDK modules, for example the error classes fromopenai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.New exports:
createOpenAIClient,createAzureOpenAIClient, and theOpenAIClientLiketype. Some options still load theopenaiSDK on first use:workloadIdentity,provider,dataResidency,credential,x509Transport, an admin key with noapiKey, andazureADTokenProvideron Azure. -
Updated dependencies [
48cbc66,374fb69]:- @tanstack/ai@1.2.0
- @tanstack/ai-utils@1.1.0