Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
PR Checklist
Bugs / Features
What is the current behavior?
@ai-sdk/provider-utils@3(reached viaollama-ai-provider-v2@^1.5.3) depends onundici@5, which has no patched 5.x release. The undici advisories published 2026-10-23 to 10-27 (e.g. GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm) are fixed first in 6.29.1 / 7.30.1.What is the new behavior?
Adds a root
pnpm.overridesentry,"@ai-sdk/provider-utils@3>undici": "^6.29.1", plus the matchingoverrides:block inpnpm-lock.yaml.ollama-ai-provider-v2stays at^1.5.3.Notes for reviewers
overridesare not published with@voltagent/core, so consumers (e.g. Holly) still need the same override in their own root until core moves its Ollama dependency to an AI SDK 6 package.provider-utils@3.0.19, which predates the undici dependency (added in 3.0.31), sopnpm why undicishows a false clean here. It applies on a future re-resolution.provider-utils@3only lazy-loads undici in its SSRF-safe download helper, which the Ollama provider never calls. A stress test of core 2.11.1 +ollama-ai-provider-v2@1.5.5against undici 5.29.0 (generate, stream, 100 parallel streams, abort, retry, embedMany, agent + tool call) behaved the same.pnpm install --frozen-lockfilepasses. The lockfile diff is the 3-lineoverrides:block only; a full re-resolve adds unrelated optional-dependency churn, so I left it out.provider-utils@3.🤖 Generated with Claude Code
Summary by cubic
Fixes the unpatched
undici@5dependency in@ai-sdk/provider-utils@3(reached viaollama-ai-provider-v2@^1.5.3) by overriding it to^6.29.1, which contains the fixes for the October 2026 advisories.pnpm.overridesentry and matchingoverrides:block inpnpm-lock.yaml;ollama-ai-provider-v2stays at^1.5.3.provider-utils@3.provider-utils@3.0.19, which predates the undici dependency; it applies on a future re-resolution.provider-utils@3.Written for commit 6d8a0d5. Summary will update on new commits.