github vercel/ai @ai-sdk/policy-opa@1.0.178

latest releases: @ai-sdk/zai@3.0.57, @ai-sdk/xai@5.0.48, @ai-sdk/workflow-harness@1.0.189...
50 minutes ago

Patch Changes

  • 0b8cbfa: opaPolicy evaluated every tool call of a model response against the conversation before that response. A history-based rule, such as a conversation budget or "only one delete", therefore approved each tool call of the response on its own, and several tool calls in one response could exceed the limit. opaPolicy now evaluates each later tool call of a response a second time with the earlier tool calls of that response appended to messages, and applies the more restrictive decision.
  • Updated dependencies [0b8cbfa]
  • Updated dependencies [1d2c2ff]
  • Updated dependencies [6815153]
  • Updated dependencies [15bfd6b]
  • Updated dependencies [15bfd6b]
  • Updated dependencies [2613bb4]
  • Updated dependencies [63593a7]
    • ai@7.0.178
    • @ai-sdk/provider-utils@5.0.83

Don't miss a new ai release

NewReleases is sending notifications on new releases.