AI SDK 7.0.82

7.0.82
Changed 3
  • Allow manual tool approval statuses to include a reason and preserve it across core, model, and UI approval requests
  • OPA requires-approval decisions now surface their reason to human approvers
  • UI request chunks serialize the optional reason, while UI messages retain it as approval.requestReason separately from an approver's response reason

From AI SDK

Patch Changes
  • 3e125ba: Allow manual tool approval statuses to include a reason and preserve it across core, model, and UI approval requests. OPA requires-approval decisions now surface their reason to human approvers. UI request chunks serialize the optional reason, while UI messages retain it as approval.requestReason separately from an approver's response reason.
  • Updated dependencies [0e7994c]
  • Updated dependencies [3e125ba]
    • @ai-sdk/gateway@4.0.67
    • @ai-sdk/provider-utils@5.0.32
View original

Upgraded? How did it go?

Discussion