github vercel/ai @ai-sdk/openai@4.0.106

latest releases: @ai-sdk/zai@1.0.9, @ai-sdk/vue@2.0.283, @ai-sdk/xai@2.0.101...
5 hours ago

Patch Changes

  • 7716e18: Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated request while preserving existing authentication behavior and synchronous credential serialization.

    The experimental OpenAI Live getServerWebSocketConfig() method can now resolve asynchronously. Await its result before using the connection settings.

  • dcd2f8d: Introduce a model entry contract with named capability sections and request configuration. Consolidate the OpenAI and Anthropic model catalogs so existing request behavior and generated capability documentation use the same source of truth. Catalogs also declare the provider options each provider accepts and which models support them.

  • Updated dependencies [7716e18]

  • Updated dependencies [5c247e9]

  • Updated dependencies [dcd2f8d]

    • @ai-sdk/provider-utils@5.0.72
    • @ai-sdk/provider@4.0.35

Don't miss a new ai release

NewReleases is sending notifications on new releases.