Repository navigation
chore(deps): update dependency @ai-sdk/openai-compatible@2 to v2.0.85 - #2103
renovate[bot] wants to merge 1 commit into
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 ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Review statusThis PR was opened by an automated account. A human maintainer must verify the change intent, provenance, and validation before merging. Current step: Awaiting fresh human maintainer or CODEOWNER approval. 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
This PR contains the following updates:
2.0.56→2.0.85Release Notes
vercel/ai (@ai-sdk/openai-compatible@2)
v2.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.79Compare Source
Patch Changes
3983fea]v2.0.78Compare Source
Patch Changes
069a945]d1a36d2]f7f36d2]v2.0.77Compare Source
Patch 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]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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.