Repository navigation
ai@6.0.333
·
3535 commits
to main
since this release
Patch Changes
- 2771b61: Reduce memory and CPU usage when validating UI messages with deeply nested provider or tool metadata.
validateUIMessagesandsafeValidateUIMessages, which the agent UI stream helpers also use, validated JSON values inproviderMetadata,callProviderMetadata,resultProviderMetadata, andtoolMetadatawith 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 [9faffa5]
- Updated dependencies [3cf16af]
- Updated dependencies [d59eee0]
- @ai-sdk/gateway@3.0.238
- @ai-sdk/provider-utils@4.0.67