Skip to content

@tanstack/openai-base@1.0.2

Choose a tag to compare

@github-actions github-actions released this 05 Nov 11:41
· 42 commits to main since this release
Immutable release. Only release title and notes can be modified.
52e1a19

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/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 the OpenAIClientLike type. Some options still load the openai SDK on first use: workloadIdentity, provider, dataResidency, credential, x509Transport, an admin key with no apiKey, and azureADTokenProvider on Azure.

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0