7.0.160
Added 1
- Add steering.queue() to send a message once the current task is done
Fixed 2
- Clarify the error message for inverted smoothStream prefix configuration
- Validate streamed data parts against dataPartSchemas by bare part name so useChat and Chat enforce validation, raising a TypeValidationError for invalid data parts behavior changed · inferred, marked in the notes below
1 change to check, marked in the notes below
From AI SDK
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
dataPartSchemasprocessUIMessageStreamlooked updataPartSchemasby the full chunk type (data-weather) instead of the bare part name (weather), souseChat/Chatnever validated streamed data parts. Invalid data parts now raise aTypeValidationError. behavior changed · inferred -
Updated dependencies [2099d45]
-
Updated dependencies [d05ff62]
- @ai-sdk/gateway@4.0.133