Repository navigation
chore(deps): update ai sdk core and providers - #2103
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1
Please check the settings in the CodeRabbit UI or the
|
Review statusThis PR was opened by an automated account. A human maintainer must verify the change intent, provenance, and validation before merging. Current step: The required review sequence passed. Remaining merge requirements apply. Review-state labels are managed by this workflow; do not edit them manually. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
957d7f6 to
fa013c5
Compare
fa013c5 to
02afd76
Compare
02afd76 to
8915e83
Compare
8915e83 to
a39e9b0
Compare
a39e9b0 to
c10c74d
Compare
c10c74d to
b827fec
Compare
This PR contains the following updates:
2.0.56→2.0.874.0.61→4.0.627.0.143→7.0.148Release Notes
vercel/ai (@ai-sdk/openai-compatible@2)
v2.0.87Compare Source
Patch Changes
81df039: Defer validation schema construction until first use to reduce provider import time.1183cc4]d726591]v2.0.86Compare Source
Patch Changes
b3c2bb4: fix(openai-compatible, groq, alibaba): put reasoning before text in doGeneratev2.0.85Compare Source
Patch Changes
5aa3086: feat(openai-compatible): support URL-based image responsesAdd opt-in URL validation and credential origin handling to
getFromApifor URL-based image responses. Validate redirect targets, strip unsafe request headers, and drop credentials on cross-origin redirects while preserving existing unvalidated requests.Updated dependencies [
5aa3086]v2.0.84Compare Source
Patch Changes
739e9f6]v2.0.83Compare Source
Patch Changes
d5e7d82]v2.0.82Compare Source
Patch Changes
604b4d3]v2.0.81Compare Source
Patch Changes
a9cea74]a9cea74]a9cea74]v2.0.80Compare Source
Patch Changes
29dc427: fix(provider-utils): preserve streamed tool calls with unreliable IDs and indices29dc427]v2.0.79Patch Changes
3983fea]v2.0.78Patch Changes
069a945]d1a36d2]f7f36d2]v2.0.77Patch Changes
da2e17b]v2.0.76Compare Source
Patch Changes
82e18b0]v2.0.75Compare Source
Patch Changes
f3c1980: fix(openai-compatible): keep reasoning streams contiguous when deltas include empty tool call arrays1336501: fix(openai): return an AI SDK error for empty chat completion choices1a4dbb1]v2.0.74Compare Source
Patch Changes
6d44462: Support text and thinking parts in array-based chat completion content while ignoring unknown part types.cc23556]v2.0.73Compare Source
Patch Changes
9a521b9]v2.0.72Compare Source
Patch Changes
5642849]v2.0.71Compare Source
Patch Changes
2d172fb]v2.0.70Compare Source
Patch Changes
c79dd10: fix(openai-compatible): report truncated chat streams as errorsv2.0.69Compare Source
Patch Changes
7440d89: fix(openai-compatible): preserve unmapped usage fields inusage.rawusage.rawis specified as usage "in the shape that the provider returns",and the chat model already parsed the usage object loosely so that extra
top-level fields survived. The nested
prompt_tokens_detailsandcompletion_tokens_detailsobjects were still strict, so anything a providerreported inside them was dropped — which is where providers put their most
distinguishing detail. The existing "should preserve extra usage fields"
fixture was itself losing
audio_tokens,image_tokensandtext_tokensthis way.
Both nested objects are now parsed loosely, as is the completion model's usage
schema, which was strict throughout despite feeding the same
rawfield.Only
usage.rawchanges. The mapped token counts are unaffected.v2.0.68Compare Source
Patch Changes
31205a4]v2.0.67Compare Source
Patch Changes
b2a4d5a]v2.0.66Compare Source
Patch Changes
de18066: fix(provider/openai-compatible): clampoutputTokens.textat 0 when a provider reportscompletion_tokens_details.reasoning_tokensgreater thancompletion_tokens(observed with Baseten serving reasoning models that hit the length stop mid-reasoning). The text share of completion tokens can never be negative;totalandreasoningremain as reported by the provider.2171d15]v2.0.65Compare Source
Patch Changes
dab0a08]v2.0.64Compare Source
Patch Changes
ee2bf30]v2.0.63Compare Source
Patch Changes
9ecdefe]v2.0.62Compare Source
Patch Changes
19093fd]v2.0.61Compare Source
Patch Changes
94fda5c: Preserve structured error data from chat completion SSE streams.v2.0.60Compare Source
Patch Changes
06fb54c]v2.0.59Compare Source
Patch Changes
e1af05f]v2.0.58Compare Source
Patch Changes
4d4e176: fix(openai-compatible): buffer tool call deltas until function.name arrivesbef93ae: fix(security): prevent streaming tool calls from finalizing on parsable partial JSONStreaming 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.327642b: fix: more precise default message for tool execution denialUpdated dependencies [
d559de9]v2.0.57Compare Source
Patch Changes
0952964]vercel/ai (ai)
v7.0.148Compare Source
Patch Changes
b089ce8]39a776b]f1b550e]v7.0.147Compare Source
Patch Changes
66e74dc: fix(ai): preserve repaired tool names in streamed UI message parts9bec2c3]v7.0.146Compare Source
Patch Changes
0c2a9de: AddmaxOutputTokensandreasoningto experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported.3785b2e: fix(ai): remove orphaned reasoning, including consecutive summary and reasoning-file parts, when pruning tool callsab8eb61: Fix optional tools adding an incorrectundefinedmember to tool call, result, error, denied output, and execution event types.9d13c4d]0c2a9de]200c47f]v7.0.145Compare Source
Patch Changes
1c47fee]v7.0.144Compare Source
Patch Changes
60cc252: feat(perplexity): add decisions api support0ed59e2: FixstreamTextreturn types for reusable options andReturnTypeby moving low-memory streaming toexperimental_streamTextLowMemory. Replace experimentalstreamText({ experimental_lowMemory: true, ...options })calls withexperimental_streamTextLowMemory(options).60cc252]6b7fb8f]Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.