Skip to content

agents@0.10.2

Choose a tag to compare

@github-actions github-actions released this 13 Apr 17:26
· 46 commits to main since this release
3a62f22

Patch Changes

  • #1301 d501291 Thanks @threepointone! - Fix applyChunkToParts dropping providerMetadata on reasoning-end and reasoning-delta chunks. For Anthropic models with extended/adaptive thinking, the thinking block signature arrives on reasoning-end.providerMetadata.anthropic.signature. Without persisting it, convertToModelMessages produces reasoning parts with no signature, causing @ai-sdk/anthropic to silently drop the thinking block on subsequent turns — effectively making extended thinking single-turn only. The reasoning handlers now merge chunk.providerMetadata onto the persisted part, matching the behavior of source and tool chunk handlers in the same file. Fixes #1299.