You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch Changes
3bea041: feat(ai): support output in startBatch and parse it in getBatchResults
30d35eb: Fix streamText passing tools: undefined to experimental_transform factories when no tools are provided. Transforms now receive an empty tool set, matching the StreamTextTransform type.
fab7478: Fix locked stream errors when telemetry subscribers or integrations replace a model stream whose request or response metadata requires credential redaction.
10ff0b1: add extraction model support to provider registries, custom providers and string model ids
718824c: Prevent excessive memory and CPU usage when validating UI messages with deeply nested provider or tool metadata. validateUIMessages, safeValidateUIMessages, and the agent UI stream helpers validated JSON values in providerMetadata, callProviderMetadata, resultProviderMetadata, toolMetadata, and citation metadata with a recursive union schema that needed several times the memory of the value, so a valid request could exhaust the memory of a worker before the model was called. These values are now validated in a single pass and are no longer copied, except to remove __proto__ keys.
d99098a: Centralize empty extraction value normalization in experimental_extract, preserving missing-value behavior while removing duplicated conversion from extraction providers.