- Updated dependencies [b74971f]
- @ai-sdk/provider-utils@5.0.29
- e6087c9: fix: handle empty string tool call IDs
- Updated dependencies [e6087c9]
- @ai-sdk/provider-utils@5.0.28
- 0d96385: fix(alibaba): omit historical reasoning from assistant content in multi-turn requests
- Updated dependencies [7fbfc6d]
- @ai-sdk/provider-utils@5.0.27
- Updated dependencies [401a4ba]
- @ai-sdk/provider-utils@5.0.26
- Updated dependencies [ad6a650]
- Updated dependencies [81cd026]
- @ai-sdk/provider@4.0.7
- @ai-sdk/provider-utils@5.0.25
-
15dce62: fix(alibaba): preserve unmapped usage fields in
usage.rawAlibaba's usage was parsed with strict
z.objectschemas, so any field the provider does not explicitly map was dropped before reachingusage.raw— includingprompt_tokens_details.cache_type, which names the caching mode and therefore the rate a cache read is billed at. Usage is now parsed loosely, nested objects included, matching what the anthropic provider does.A response carrying no usage now maps to a fully null usage object rather than one with
noCacheandcacheWritezeroed and every other field undefined.This provider no longer depends on
@ai-sdk/openai-compatible. It implements its own language model rather than building on the shared one, but still reached into that package's internals for usage conversion, tool preparation and finish-reason mapping. Those now live in the provider, alongside the equivalents in@ai-sdk/deepseek,@ai-sdk/groq,@ai-sdk/mistraland@ai-sdk/xai. Behavior is unchanged. -
Updated dependencies [1937bef]
- @ai-sdk/provider-utils@5.0.24
- Updated dependencies [3469d0c]
- @ai-sdk/provider@4.0.6
- @ai-sdk/openai-compatible@3.0.25
- @ai-sdk/provider-utils@5.0.23
- Updated dependencies [2b60826]
- @ai-sdk/provider-utils@5.0.22
- @ai-sdk/openai-compatible@3.0.24
- 1bec07d: Fix streamed tool calls with non-zero, non-contiguous, reused, or missing indexes.
- Updated dependencies [1bec07d]
- @ai-sdk/provider-utils@5.0.21
- @ai-sdk/openai-compatible@3.0.23
- Updated dependencies [160ccdb]
- @ai-sdk/provider-utils@5.0.20
- @ai-sdk/openai-compatible@3.0.22
-
79e133c: async APIs for generateVideo (poll, webhook)
Adds an asynchronous start/status flow to the experimental video model interface (
VideoModelV4): models may now implementdoStart,doStatus, andhandleWebhookOptioninstead of (or in addition to)doGenerate, andexperimental_generateVideoacceptspollandwebhookoptions to orchestrate completion via polling or webhooks. Polling configuration can use a custom delay implementation for durable workflow compatibility. -
Updated dependencies [79e133c]
- @ai-sdk/provider@4.0.5
- @ai-sdk/openai-compatible@3.0.21
- @ai-sdk/provider-utils@5.0.19
- Updated dependencies [5fc7da5]
- Updated dependencies [93b2acd]
- @ai-sdk/provider-utils@5.0.18
- @ai-sdk/openai-compatible@3.0.20
- Updated dependencies [fa95504]
- @ai-sdk/provider-utils@5.0.17
- @ai-sdk/openai-compatible@3.0.19
- Updated dependencies [d8210b6]
- Updated dependencies [b192878]
- @ai-sdk/provider-utils@5.0.16
- @ai-sdk/openai-compatible@3.0.18
- Updated dependencies [1659cd5]
- Updated dependencies [6a5bdff]
- @ai-sdk/provider-utils@5.0.15
- @ai-sdk/openai-compatible@3.0.17
- Updated dependencies [0c464d9]
- Updated dependencies [c49380c]
- @ai-sdk/provider-utils@5.0.14
- @ai-sdk/openai-compatible@3.0.16
- Updated dependencies [1e2f324]
- @ai-sdk/provider@4.0.4
- @ai-sdk/openai-compatible@3.0.15
- @ai-sdk/provider-utils@5.0.13
- Updated dependencies [02ffdcb]
- Updated dependencies [76cb673]
- @ai-sdk/provider-utils@5.0.12
- @ai-sdk/openai-compatible@3.0.14
- Updated dependencies [8b52503]
- @ai-sdk/openai-compatible@3.0.13
- Updated dependencies [cd06458]
- @ai-sdk/provider-utils@5.0.11
- @ai-sdk/openai-compatible@3.0.12
- Updated dependencies [0b61267]
- @ai-sdk/openai-compatible@3.0.11
- Updated dependencies [31c7be8]
- @ai-sdk/provider-utils@5.0.10
- @ai-sdk/openai-compatible@3.0.10
-
4be62c1: fix(provider-utils): validate provider-response URLs in
getFromApigetFromApinow has avalidateUrlflag. It is optional so existing callers keep compiling (omitting it behaves likefalse, i.e. no validation), but all AI SDK provider packages set it explicitly at every call site so each one makes a visible trust decision. Whentrue, the URL is routed throughfetchWithValidatedRedirects— the same guard used bydownloadBlob— which rejects private/loopback/link-local targets, re-validates every redirect hop, strips proxy/metadata/cookie request headers, and drops all caller headers except the user-agent on cross-origin redirects (custom API-key headers must not follow a redirect off-origin any more thanAuthorizationmay); blocked URLs throwDownloadError. It is enabled at the image/video/audio download and polling call sites where the URL comes from a provider response body; URLs built from developer-configured endpoints passvalidateUrl: falseand are unaffected.A new optional
credentialedOriginwithholds caller headers unless the URL is same-origin with it, so the API key is not sent to a response-supplied host on a different origin.A new optional
trustedOriginexempts URLs (and redirect hops) that are same-origin with the developer-configured provider endpoint from target validation, so self-hosted and localhost deployments whose response URLs point back at the configured host keep working; all other hops are still validated.Also closes range gaps in
validateDownloadUrl(IPv4224.0.0.0/4multicast and the TEST-NET documentation ranges192.0.2.0/24,198.51.100.0/24,203.0.113.0/24; IPv6 documentation ranges2001:db8::/32and3fff::/20), and follows only the fetch-spec redirect status codes (301/302/303/307/308) — aLocationheader on any other status is not followed. This guard performs string/literal checks only and does not resolve DNS; hostnames that resolve to private addresses and DNS rebinding remain out of scope and must be constrained at the network layer (or by injecting a Nodefetchthat pins the resolved IP at connect time) for server deployments handling untrusted URLs. Seecontributing/secure-url-handling.md. -
Updated dependencies [4be62c1]
-
Updated dependencies [7805e4a]
-
Updated dependencies [cd12954]
- @ai-sdk/provider-utils@5.0.9
- @ai-sdk/openai-compatible@3.0.9
- Updated dependencies [e193290]
- @ai-sdk/provider-utils@5.0.8
- @ai-sdk/openai-compatible@3.0.8
- 0f93c57: feat (video): support video (not just image) reference inputs in
inputReferencesfor reference-to-video generation - Updated dependencies [0f93c57]
- @ai-sdk/provider@4.0.3
- @ai-sdk/openai-compatible@3.0.7
- @ai-sdk/provider-utils@5.0.7
- ac306ed: Fix
StreamingToolCallTrackerfinalizing streaming tool calls on parsable partial JSON. Tool calls now only finalize during stream flush, restoring the behavior of #13137: a parsable argument buffer can still be the prefix of a longer argument string, so finalizing early could act on truncated tool inputs. - Updated dependencies [ac306ed]
- @ai-sdk/provider-utils@5.0.6
- @ai-sdk/openai-compatible@3.0.6
- 0c3c7e4: feat(alibaba): support wan2.7 text-to-video and reference-to-video models with the new protocol (
input.media,resolution+ratio)
- 5c5c0f5: Add experimental streaming transcription support for transcription models, including OpenAI
gpt-realtime-whisperand xAI WebSocket STT. - Updated dependencies [5c5c0f5]
- @ai-sdk/provider@4.0.2
- @ai-sdk/provider-utils@5.0.5
- @ai-sdk/openai-compatible@3.0.5
- Updated dependencies [c6f5e62]
- @ai-sdk/provider-utils@5.0.4
- @ai-sdk/openai-compatible@3.0.4
- Updated dependencies [8c616f0]
- @ai-sdk/provider-utils@5.0.3
- @ai-sdk/openai-compatible@3.0.3
- 0274f34: feat (video): add first-class
frameImagesandinputReferencescall options for video generation - Updated dependencies [0274f34]
- @ai-sdk/provider@4.0.1
- @ai-sdk/openai-compatible@3.0.2
- @ai-sdk/provider-utils@5.0.2
- Updated dependencies [6a436e3]
- @ai-sdk/provider-utils@5.0.1
- @ai-sdk/openai-compatible@3.0.1
- ba6d510: chore: fix deprecated use of zod
.passthrough()
-
ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (
"type": "module"). Consumers usingrequire()must switch to ESMimportsyntax. -
c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
-
8359612: Start v7 pre-release
-
04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
-
94c6edc: Add
qwen3.7-maxmodel ID to Alibaba and AI Gateway. -
38fc777: Add AI Gateway hint to provider READMEs
-
74d520f: feat: migrate providers to support new top-level
reasoningparameter -
45b3d76: 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 inflush()after the stream is fully consumed. -
811cd8e: fix(provider/alibaba): handle single-item content array cache control
-
9f0e36c: trigger release for all packages after provenance setup
-
58a2ad7: fix: more precise default message for tool execution denial
-
f7295cb: revert incorrect fix vercel#13172
-
4ab27b9: chore(alibaba): update v3 specs to v4
-
7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
-
f807e45: Extract shared
StreamingToolCallTrackerclass into@ai-sdk/provider-utilsto deduplicate streaming tool call handling across OpenAI-compatible providers. Also adds missinggenerateId()fallback fortoolCallIdin Alibaba'sdoGeneratepath and ensures all providers finalize unfinished tool calls during stream flush. -
0c4c275: trigger initial canary release
-
616bb31: feat(aliababa): add embedding model support
-
9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
-
258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
-
b8396f0: trigger initial beta release
-
90e2d8a: chore: fix unused vars not being flagged by our lint tooling
-
0416e3e: feat (video): add first-class
generateAudiocall option -
b3976a2: Add workflow serialization support to all provider models.
@ai-sdk/provider-utils: NewserializeModel()helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.All providers:
headersis now optional in provider config types. This is non-breaking — existing code that passesheaderscontinues to work. Custom provider implementations that construct model configs manually can now omitheaders, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.All provider model classes now include
WORKFLOW_SERIALIZEandWORKFLOW_DESERIALIZEstatic methods, enabling them to cross workflow step boundaries without serialization errors.
- 0416e3e: feat (video): add first-class
generateAudiocall option - Updated dependencies [0416e3e]
- @ai-sdk/provider@4.0.0-beta.20
- @ai-sdk/openai-compatible@3.0.0-beta.58
- @ai-sdk/provider-utils@5.0.0-beta.50
- b8396f0: trigger initial beta release
- Updated dependencies [b8396f0]
- @ai-sdk/openai-compatible@3.0.0-beta.57
- @ai-sdk/provider-utils@5.0.0-beta.49
- @ai-sdk/provider@4.0.0-beta.19
- Updated dependencies [aeda373]
- Updated dependencies [375fdd7]
- Updated dependencies [b4507d5]
- @ai-sdk/provider-utils@5.0.0-canary.48
- @ai-sdk/openai-compatible@3.0.0-canary.56
- Updated dependencies [bae5e2b]
- @ai-sdk/provider-utils@5.0.0-canary.47
- @ai-sdk/openai-compatible@3.0.0-canary.55
- Updated dependencies [ce769dd]
- @ai-sdk/provider@4.0.0-canary.18
- @ai-sdk/openai-compatible@3.0.0-canary.54
- @ai-sdk/provider-utils@5.0.0-canary.46
- 616bb31: feat(aliababa): add embedding model support
- Updated dependencies [ee798eb]
- Updated dependencies [daf6637]
- @ai-sdk/provider-utils@5.0.0-canary.45
- @ai-sdk/openai-compatible@3.0.0-canary.53
- Updated dependencies [6c93e36]
- Updated dependencies [f617ac2]
- @ai-sdk/provider-utils@5.0.0-canary.44
- @ai-sdk/openai-compatible@3.0.0-canary.52
- Updated dependencies [9f1e1ba]
- @ai-sdk/openai-compatible@3.0.0-canary.51
- 94c6edc: Add
qwen3.7-maxmodel ID to Alibaba and AI Gateway.
- 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
- Updated dependencies [7fc6bd6]
- @ai-sdk/openai-compatible@3.0.0-canary.50
- @ai-sdk/provider-utils@5.0.0-canary.43
- @ai-sdk/provider@4.0.0-canary.17
- Updated dependencies [a6617c5]
- @ai-sdk/provider-utils@5.0.0-canary.42
- @ai-sdk/openai-compatible@3.0.0-canary.49
- Updated dependencies [28dfa06]
- Updated dependencies [e93fa91]
- @ai-sdk/provider-utils@5.0.0-canary.41
- @ai-sdk/openai-compatible@3.0.0-canary.48
- Updated dependencies [a7de9c9]
- @ai-sdk/provider-utils@5.0.0-canary.40
- @ai-sdk/openai-compatible@3.0.0-canary.47
- Updated dependencies [105f95b]
- @ai-sdk/provider-utils@5.0.0-canary.39
- @ai-sdk/openai-compatible@3.0.0-canary.46
- Updated dependencies [ca446f8]
- @ai-sdk/provider-utils@5.0.0-canary.38
- @ai-sdk/openai-compatible@3.0.0-canary.45
- Updated dependencies [d848405]
- @ai-sdk/provider-utils@5.0.0-canary.37
- @ai-sdk/openai-compatible@3.0.0-canary.44
- Updated dependencies [ca39020]
- @ai-sdk/provider-utils@5.0.0-canary.36
- @ai-sdk/openai-compatible@3.0.0-canary.43
- Updated dependencies [f634bac]
- @ai-sdk/provider-utils@5.0.0-canary.35
- @ai-sdk/openai-compatible@3.0.0-canary.42
- Updated dependencies [69254e0]
- Updated dependencies [3015fc3]
- @ai-sdk/provider-utils@5.0.0-canary.34
- @ai-sdk/openai-compatible@3.0.0-canary.41
- Updated dependencies [2427d88]
- @ai-sdk/provider-utils@5.0.0-canary.33
- @ai-sdk/openai-compatible@3.0.0-canary.40
- Updated dependencies [5463d0d]
- @ai-sdk/provider-utils@5.0.0-canary.32
- @ai-sdk/provider@4.0.0-canary.16
- @ai-sdk/openai-compatible@3.0.0-canary.39
- Updated dependencies [cd9c311]
- @ai-sdk/openai-compatible@3.0.0-canary.38
- 0c4c275: trigger initial canary release
- Updated dependencies [0c4c275]
- @ai-sdk/openai-compatible@3.0.0-canary.37
- @ai-sdk/provider-utils@5.0.0-canary.31
- @ai-sdk/provider@4.0.0-canary.15
- Updated dependencies [e59c955]
- @ai-sdk/openai-compatible@3.0.0-beta.36
-
04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
- Updated dependencies [08d2129]
- Updated dependencies [04e9009]
- @ai-sdk/provider-utils@5.0.0-beta.30
- @ai-sdk/openai-compatible@3.0.0-beta.35
- 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
- 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
- Updated dependencies [9bd6512]
- Updated dependencies [258c093]
- Updated dependencies [b6783da]
- @ai-sdk/openai-compatible@3.0.0-beta.34
- @ai-sdk/provider-utils@5.0.0-beta.29
- @ai-sdk/provider@4.0.0-beta.14
- 9f0e36c: trigger release for all packages after provenance setup
- Updated dependencies [9f0e36c]
- @ai-sdk/openai-compatible@3.0.0-beta.33
- @ai-sdk/provider@4.0.0-beta.13
- @ai-sdk/provider-utils@5.0.0-beta.28
- 58a2ad7: fix: more precise default message for tool execution denial
- Updated dependencies [ab81968]
- Updated dependencies [785fe16]
- Updated dependencies [67df0a0]
- Updated dependencies [befb78c]
- Updated dependencies [0458559]
- Updated dependencies [58a2ad7]
- Updated dependencies [5852c0a]
- Updated dependencies [fc92055]
- @ai-sdk/openai-compatible@3.0.0-beta.32
- @ai-sdk/provider-utils@5.0.0-beta.27
- Updated dependencies [2e98477]
- Updated dependencies [bfb756d]
- @ai-sdk/provider-utils@5.0.0-beta.26
- @ai-sdk/openai-compatible@3.0.0-beta.31
- Updated dependencies [eea8d98]
- @ai-sdk/provider-utils@5.0.0-beta.25
- @ai-sdk/openai-compatible@3.0.0-beta.30
- f807e45: Extract shared
StreamingToolCallTrackerclass into@ai-sdk/provider-utilsto deduplicate streaming tool call handling across OpenAI-compatible providers. Also adds missinggenerateId()fallback fortoolCallIdin Alibaba'sdoGeneratepath and ensures all providers finalize unfinished tool calls during stream flush. - Updated dependencies [f807e45]
- @ai-sdk/provider-utils@5.0.0-beta.24
- @ai-sdk/openai-compatible@3.0.0-beta.29
- Updated dependencies [350ea38]
- @ai-sdk/provider-utils@5.0.0-beta.23
- @ai-sdk/openai-compatible@3.0.0-beta.28
- Updated dependencies [083947b]
- @ai-sdk/provider-utils@5.0.0-beta.22
- @ai-sdk/openai-compatible@3.0.0-beta.27
- Updated dependencies [add1126]
- @ai-sdk/provider-utils@5.0.0-beta.21
- @ai-sdk/openai-compatible@3.0.0-beta.26
-
b3976a2: Add workflow serialization support to all provider models.
@ai-sdk/provider-utils: NewserializeModel()helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.All providers:
headersis now optional in provider config types. This is non-breaking — existing code that passesheaderscontinues to work. Custom provider implementations that construct model configs manually can now omitheaders, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.All provider model classes now include
WORKFLOW_SERIALIZEandWORKFLOW_DESERIALIZEstatic methods, enabling them to cross workflow step boundaries without serialization errors. -
Updated dependencies [b3976a2]
-
Updated dependencies [ff5eba1]
- @ai-sdk/provider-utils@5.0.0-beta.20
- @ai-sdk/openai-compatible@3.0.0-beta.25
- @ai-sdk/provider@4.0.0-beta.12
- ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (
"type": "module"). Consumers usingrequire()must switch to ESMimportsyntax.
- Updated dependencies [ef992f8]
- @ai-sdk/openai-compatible@3.0.0-beta.24
- @ai-sdk/provider@4.0.0-beta.11
- @ai-sdk/provider-utils@5.0.0-beta.19
- 90e2d8a: chore: fix unused vars not being flagged by our lint tooling
- Updated dependencies [90e2d8a]
- @ai-sdk/openai-compatible@3.0.0-beta.23
- @ai-sdk/provider-utils@5.0.0-beta.18
- Updated dependencies [3ae1786]
- @ai-sdk/provider-utils@5.0.0-beta.17
- @ai-sdk/openai-compatible@3.0.0-beta.22
- Updated dependencies [176466a]
- @ai-sdk/provider@4.0.0-beta.10
- @ai-sdk/openai-compatible@3.0.0-beta.21
- @ai-sdk/provider-utils@5.0.0-beta.16
- Updated dependencies [e311194]
- @ai-sdk/provider@4.0.0-beta.9
- @ai-sdk/openai-compatible@3.0.0-beta.20
- @ai-sdk/provider-utils@5.0.0-beta.15
- Updated dependencies [34bd95d]
- Updated dependencies [008271d]
- @ai-sdk/provider@4.0.0-beta.8
- @ai-sdk/openai-compatible@3.0.0-beta.19
- @ai-sdk/provider-utils@5.0.0-beta.14
- Updated dependencies [b0c2869]
- Updated dependencies [7e26e81]
- @ai-sdk/provider-utils@5.0.0-beta.13
- @ai-sdk/openai-compatible@3.0.0-beta.18
- Updated dependencies [816ff67]
- @ai-sdk/openai-compatible@3.0.0-beta.17
- Updated dependencies [46d1149]
- @ai-sdk/provider-utils@5.0.0-beta.12
- @ai-sdk/openai-compatible@3.0.0-beta.16
- Updated dependencies [6fd51c0]
- @ai-sdk/provider-utils@5.0.0-beta.11
- @ai-sdk/provider@4.0.0-beta.7
- @ai-sdk/openai-compatible@3.0.0-beta.15
- c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
- Updated dependencies [c29a26f]
- @ai-sdk/openai-compatible@3.0.0-beta.14
- @ai-sdk/provider-utils@5.0.0-beta.10
- @ai-sdk/provider@4.0.0-beta.6
- 38fc777: Add AI Gateway hint to provider READMEs
- Updated dependencies [38fc777]
- @ai-sdk/openai-compatible@3.0.0-beta.13
- Updated dependencies [2e17091]
- @ai-sdk/provider-utils@5.0.0-beta.9
- @ai-sdk/openai-compatible@3.0.0-beta.12
- Updated dependencies [986c6fd]
- Updated dependencies [493295c]
- @ai-sdk/provider-utils@5.0.0-beta.8
- @ai-sdk/openai-compatible@3.0.0-beta.11
- Updated dependencies [1f509d4]
- @ai-sdk/provider-utils@5.0.0-beta.7
- @ai-sdk/provider@4.0.0-beta.5
- @ai-sdk/openai-compatible@3.0.0-beta.10
- 74d520f: feat: migrate providers to support new top-level
reasoningparameter - Updated dependencies [74d520f]
- @ai-sdk/openai-compatible@3.0.0-beta.9
- Updated dependencies [3887c70]
- @ai-sdk/provider-utils@5.0.0-beta.6
- @ai-sdk/provider@4.0.0-beta.4
- @ai-sdk/openai-compatible@3.0.0-beta.8
- Updated dependencies [776b617]
- @ai-sdk/provider-utils@5.0.0-beta.5
- @ai-sdk/provider@4.0.0-beta.3
- @ai-sdk/openai-compatible@3.0.0-beta.7
- Updated dependencies [61753c3]
- @ai-sdk/provider-utils@5.0.0-beta.4
- @ai-sdk/openai-compatible@3.0.0-beta.6
- 811cd8e: fix(provider/alibaba): handle single-item content array cache control
- Updated dependencies [f7d4f01]
- @ai-sdk/provider-utils@5.0.0-beta.3
- @ai-sdk/provider@4.0.0-beta.2
- @ai-sdk/openai-compatible@3.0.0-beta.5
- Updated dependencies [5c2a5a2]
- @ai-sdk/provider@4.0.0-beta.1
- @ai-sdk/openai-compatible@3.0.0-beta.4
- @ai-sdk/provider-utils@5.0.0-beta.2
- Updated dependencies [8f3e1da]
- @ai-sdk/openai-compatible@3.0.0-beta.3
- 4ab27b9: chore(alibaba): update v3 specs to v4
-
45b3d76: 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 inflush()after the stream is fully consumed. -
f7295cb: revert incorrect fix vercel#13172
-
Updated dependencies [45b3d76]
-
Updated dependencies [f7295cb]
- @ai-sdk/openai-compatible@3.0.0-beta.2
- Updated dependencies [531251e]
- @ai-sdk/provider-utils@5.0.0-beta.1
- @ai-sdk/openai-compatible@3.0.0-beta.1
- 8359612: Start v7 pre-release
- Updated dependencies [8359612]
- @ai-sdk/openai-compatible@3.0.0-beta.0
- @ai-sdk/provider@4.0.0-beta.0
- @ai-sdk/provider-utils@5.0.0-beta.0
- Updated dependencies [ad4cfc2]
- @ai-sdk/provider-utils@4.0.19
- @ai-sdk/openai-compatible@2.0.35
- Updated dependencies [824b295]
- @ai-sdk/provider-utils@4.0.18
- @ai-sdk/openai-compatible@2.0.34
- Updated dependencies [89caf28]
- @ai-sdk/openai-compatible@2.0.33
- Updated dependencies [08336f1]
- @ai-sdk/provider-utils@4.0.17
- @ai-sdk/openai-compatible@2.0.32
- Updated dependencies [58bc42d]
- @ai-sdk/provider-utils@4.0.16
- @ai-sdk/openai-compatible@2.0.31
- 6fe0630: fix(provider/alibaba): fix cache control for non-system messages
- Updated dependencies [4024a3a]
- @ai-sdk/provider-utils@4.0.15
- @ai-sdk/openai-compatible@2.0.30
- 99fbed8: feat: normalize provider specific model options type names and ensure they are exported
- Updated dependencies [99fbed8]
- @ai-sdk/openai-compatible@2.0.29
- 4d8c6b9: feat (provider/alibaba): add video generation support
- Updated dependencies [7168375]
- @ai-sdk/provider@3.0.8
- @ai-sdk/openai-compatible@2.0.28
- @ai-sdk/provider-utils@4.0.14
- aa924c7: feat(provider/alibaba): initial alibaba provider