Skip to content

@ai-sdk/alibaba@1.0.36

Choose a tag to compare

@github-actions github-actions released this 07 Jul 23:47
885e236

Patch Changes

  • bef93ae: fix(security): prevent streaming tool calls from finalizing on parsable partial JSON

    Streaming tool call arguments were finalized using isParsableJson() as a heuristic for completion. If partial accumulated JSON happened to be valid JSON before all chunks arrived, the tool call would be executed with incomplete arguments. Tool call finalization now only occurs in flush() after the stream is fully consumed.

  • 327642b: fix: more precise default message for tool execution denial

  • Updated dependencies [4d4e176]

  • Updated dependencies [bef93ae]

  • Updated dependencies [d559de9]

  • Updated dependencies [327642b]

    • @ai-sdk/openai-compatible@2.0.58
    • @ai-sdk/provider-utils@4.0.37