github vercel/ai @ai-sdk/deepinfra@3.0.0-beta.25

latest releases: @ai-sdk/angular@3.0.0-beta.90, @ai-sdk/rsc@3.0.0-beta.91, @ai-sdk/otel@1.0.0-beta.36...
pre-release19 hours ago

Patch Changes

  • b3976a2: Add workflow serialization support to all provider models.

    @ai-sdk/provider-utils: New serializeModel() helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.

    All providers: headers is now optional in provider config types. This is non-breaking — existing code that passes headers continues to work. Custom provider implementations that construct model configs manually can now omit headers, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.

    All provider model classes now include WORKFLOW_SERIALIZE and WORKFLOW_DESERIALIZE static methods, enabling them to cross workflow step boundaries without serialization errors.

  • Updated dependencies [b3976a2]

  • Updated dependencies [ff5eba1]

    • @ai-sdk/provider-utils@5.0.0-beta.20
    • @ai-sdk/openai-compatible@3.0.0-beta.25
    • @ai-sdk/provider@4.0.0-beta.12

Don't miss a new ai release

NewReleases is sending notifications on new releases.