Repository navigation
ai@5.0.291
·
5375 commits
to main
since this release
Patch Changes
- d9bda29: Reduce memory and CPU usage when validating UI messages with deeply nested provider metadata.
validateUIMessagesandsafeValidateUIMessagesvalidated JSON values inproviderMetadataandcallProviderMetadatawith a recursive union schema that needed several times the memory of the value. These values are now validated in a single pass and are no longer copied, except to remove__proto__keys. - Updated dependencies [e88ddaa]
- Updated dependencies [68bf653]
- @ai-sdk/gateway@2.0.182