Skip to content

@ai-sdk/policy-opa@1.0.178

Choose a tag to compare

@github-actions github-actions released this 20 Nov 16:54
· 1 commit to main since this release
3dad57f

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