Skip to content

ai@7.0.58

Choose a tag to compare

@github-actions github-actions released this 07 Aug 23:43
63db193

Patch Changes

  • 72ad23f: Respect ToolLoopAgent timeouts configured in agent settings.

  • ad6a650: feat(video): allow aspectRatio: 'adaptive' on generateVideo

    Some video models derive the output ratio from the input and reject explicit
    {width}:{height} values — BytePlus Seedance 2.5 does this for first-frame,
    first-and-last-frame, editing, and extension tasks. aspectRatio on
    VideoModelV3CallOptions, VideoModelV4CallOptions, and
    experimental_generateVideo is now `${number}:${number}` | 'adaptive', so
    those calls no longer need a type assertion. Support is provider-specific.

  • 81cd026: Reduce bundle size by making internal Zod v4 imports tree-shakeable.

  • Updated dependencies [c477556]

  • Updated dependencies [ad6a650]

  • Updated dependencies [81cd026]

    • @ai-sdk/gateway@4.0.46
    • @ai-sdk/provider@4.0.7
    • @ai-sdk/provider-utils@5.0.25