Patch Changes
-
fd7e8a7: Preserve the order of text and complete function calls in streamed Google responses, including standalone thought signatures on empty text or reasoning parts.
Keep provider metadata on empty text parts when converting results to response messages so it can be passed back in subsequent requests.
Omit foreign-provider empty signature text when replaying history through Anthropic or Bedrock, preserving Bedrock’s existing native reasoning-history handling.
-
8291ccf: Add MiniMax
serviceTiersupport forstandardandpriorityadmission. Omit tiers belonging to another known provider with an unsupported-setting warning instead of forwarding incompatible values. Expose the appliedserviceTier, when returned, in Anthropic-compatible generation, stream and batch metadata without changing existing metadata construction types. -
9754014: Add typed streaming heartbeat parts. Anthropic emits them only with
includePings: true(disabled by default), without requiring raw chunks. Core forwards pings through stream retries without storing them as generated content or sending them to UI message streams. Consumers with exhaustive stream-part switches must handle the newpingunion variant when upgrading, even when the opt-in is disabled. Typed pings do not flush partial words during stream smoothing. -
4b8f00e: Add a
supportsNativeStructuredOutputopt-in to the Vertex Anthropic provider soautocan use native structured output for Claude 4.5 and newer when enabled by Google Cloud policy. Keep tool emulation as the default and avoid adding the structured-output beta header for providers without strict tool support. -
8b11ff6: Support deleting files, retrieving metadata, and streaming downloads of generated files through the Anthropic Files API. Metadata reads and uploads expose consistent media type, size, creation time, expiration, and provider metadata when available. Downloads preserve Anthropic’s restriction to files generated by tools or skills.
-
Updated dependencies [36802d4]
-
Updated dependencies [e0143b0]
-
Updated dependencies [934100c]
-
Updated dependencies [892af4d]
-
Updated dependencies [89aff56]
-
Updated dependencies [41465fd]
-
Updated dependencies [9754014]
-
Updated dependencies [4bb73b0]
-
Updated dependencies [2e44144]
- @ai-sdk/provider@4.0.36
- @ai-sdk/provider-utils@5.0.75