@ai-sdk/openai-compatible
3.0.93 · 17 Nov 2026Apache-2.014.4M / weekRepositoryHomepagenpmAtom feed
2.0.94 is the newest release of 2.x.
In short
3 fixed1 internal
Release note
Patch Changes
openai-compatible: Buffer tool call deltas until function.name arrives
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 inflush()after the stream is fully consumed.More precise default message for tool execution denial
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.