github vercel/ai @ai-sdk/assemblyai@3.0.0-beta.22

latest releases: @ai-sdk/valibot@3.0.0-beta.20, @ai-sdk/luma@3.0.0-beta.21, @ai-sdk/provider@4.0.0-beta.12...
pre-release16 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/provider@4.0.0-beta.12

Don't miss a new ai release

NewReleases is sending notifications on new releases.