Skip to content

ai@7.0.160

Choose a tag to compare

@github-actions github-actions released this 02 Nov 19:20
· 60 commits to main since this release
563b3ff

Patch Changes

  • a71172d: fix(ai): clarify inverted smoothStream prefix error message

  • cf27969: add steering.queue() to send a message once the current task is done

  • 17b6923: fix(ai): validate streamed data parts against dataPartSchemas

    processUIMessageStream looked up dataPartSchemas by the full chunk type (data-weather) instead of the bare part name (weather), so useChat / Chat never validated streamed data parts. Invalid data parts now raise a TypeValidationError.

  • Updated dependencies [2099d45]

  • Updated dependencies [d05ff62]

    • @ai-sdk/gateway@4.0.133