chore(deps): bump @ai-sdk/openai to 3.0.73 and ai to 6.0.208 in /agent-service [release/v1.2 backport]#5872
Conversation
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/v1.2 #5872 +/- ##
===============================================
Coverage 51.96% 51.96%
Complexity 2469 2469
===============================================
Files 1065 1065
Lines 41266 41266
Branches 4418 4418
===============================================
Hits 21444 21444
Misses 18558 18558
Partials 1264 1264
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Backports the agent-service dependency upgrade from PR #5816 onto release/v1.2, updating the Vercel AI SDK (ai) and the OpenAI provider (@ai-sdk/openai) to newer major versions and refreshing the resolved transitive dependency set accordingly.
Changes:
- Bump
@ai-sdk/openaifrom2.0.79to3.0.73andaifrom5.0.108to6.0.208. - Update the Bun lockfile resolution for the new major versions (including transitive updates like
eventsource-parserand@standard-schema/spec). - Refresh
LICENSE-binarypackage/version listings to reflect the updated dependency graph.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| agent-service/package.json | Updates the direct dependency pins for ai and @ai-sdk/openai to the new versions. |
| agent-service/LICENSE-binary | Updates the third-party dependency version listing for the agent-service Docker image bundle. |
| agent-service/bun.lock | Re-locks the dependency graph for the new AI SDK major versions and updated transitive deps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Verified — |
…t-service (apache#5816) Bumps [@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai) from 2.0.79 to 3.0.73. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vercel/ai/releases">@ai-sdk/openai's releases</a>.</em></p> <blockquote> <h2><code>@ai-sdk/openai</code><a href="https://github.com/3"><code>@3</code></a>.0.73</h2> <h3>Patch Changes</h3> <ul> <li>1274c07: fix(provider/openai): send client-executed tool calls as full function_call items in the Responses API so they pair with their function_call_output by call_id</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vercel/ai/blob/@ai-sdk/openai@3.0.73/packages/openai/CHANGELOG.md">@ai-sdk/openai's changelog</a>.</em></p> <blockquote> <h2>3.0.73</h2> <h3>Patch Changes</h3> <ul> <li>1274c07: fix(provider/openai): send client-executed tool calls as full function_call items in the Responses API so they pair with their function_call_output by call_id</li> </ul> <h2>3.0.72</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [779f5cd] <ul> <li><code>@ai-sdk/provider-utils</code><a href="https://github.com/4"><code>@4</code></a>.0.30</li> </ul> </li> </ul> <h2>3.0.71</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [bfa5864]</li> <li>Updated dependencies [f42aa79] <ul> <li><code>@ai-sdk/provider-utils</code><a href="https://github.com/4"><code>@4</code></a>.0.29</li> </ul> </li> </ul> <h2>3.0.70</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [942f2f8] <ul> <li><code>@ai-sdk/provider-utils</code><a href="https://github.com/4"><code>@4</code></a>.0.28</li> </ul> </li> </ul> <h2>3.0.69</h2> <h3>Patch Changes</h3> <ul> <li>9a55f6d: feat(openai): add namespaces for tool definitions</li> </ul> <h2>3.0.68</h2> <h3>Patch Changes</h3> <ul> <li> <p>c65c952: fix(openai): round-trip <code>namespace</code> on function_call input items</p> <p>When <code>tool_search</code> dispatches a deferred tool, the resulting <code>function_call</code> carries a <code>namespace</code> field identifying which deferred-tool group the model picked. <code>[#14789](https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/14789)</code> preserved this on the read side (<code>providerMetadata.openai.namespace</code>), but the write side still serialized <code>function_call</code> input items without <code>namespace</code>. Multi-step / multi-turn conversations then failed with <code>Missing namespace for function_call '<name>'. ... Round-trip the model's function_call item with its namespace field included.</code></p> <p><code>convert-to-openai-responses-input.ts</code> now reads <code>namespace</code> from <code>providerOptions.openai.namespace</code> (or <code>providerMetadata.openai.namespace</code>) on <code>tool-call</code> parts and includes it on the serialized <code>function_call</code> item, mirroring how <code>itemId</code> is round-tripped.</p> </li> </ul> <h2>3.0.67</h2> <h3>Patch Changes</h3> <ul> <li>c679fec: feat(provider/azure):web search tool in the Azure OpenAI Responses API.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vercel/ai/commit/cc38fceda391b38ce8597ce3acf09e8297af929b"><code>cc38fce</code></a> Version Packages (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/16229">#16229</a>)</li> <li><a href="https://github.com/vercel/ai/commit/1274c070f149e518a441b48ee94ccb1e6a0e821b"><code>1274c07</code></a> Backport: fix(openai): send client-executed tool calls as full function_call ...</li> <li><a href="https://github.com/vercel/ai/commit/caebb44016dbd084e5bf7b7f4ab5194fd2c7c045"><code>caebb44</code></a> Version Packages (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/16157">#16157</a>)</li> <li><a href="https://github.com/vercel/ai/commit/bae9babb22e195e74a9a0c0e26a5e52c8ba8e7f2"><code>bae9bab</code></a> Version Packages (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/16026">#16026</a>)</li> <li><a href="https://github.com/vercel/ai/commit/9ef2c3cfadfc4a469e9eec6a6e8a0ac0fc80a1e5"><code>9ef2c3c</code></a> Version Packages (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/15998">#15998</a>)</li> <li><a href="https://github.com/vercel/ai/commit/f6e588173713842794c619f9554a4b341c6e97f5"><code>f6e5881</code></a> Version Packages (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/15902">#15902</a>)</li> <li><a href="https://github.com/vercel/ai/commit/9a55f6d3664399b243f68506b615ed87aab79454"><code>9a55f6d</code></a> Backport: feat(openai): add namespaces for tool definitions (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/15910">#15910</a>)</li> <li><a href="https://github.com/vercel/ai/commit/de852ab79aac88345c8a9ae54003fb206e1a64b4"><code>de852ab</code></a> Version Packages (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/15821">#15821</a>)</li> <li><a href="https://github.com/vercel/ai/commit/c65c95231508df82fc85149a873047908e71b3c3"><code>c65c952</code></a> Backport: fix(openai): round-trip namespace on function_call input items (<a href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/15">#15</a>...</li> <li><a href="https://github.com/vercel/ai/commit/7aca1fc2004800171233ae16c2456ef297552441"><code>7aca1fc</code></a> backport: chore: update TypeScript references and fix `pnpm update-references...</li> <li>Additional commits viewable in <a href="https://github.com/vercel/ai/commits/@ai-sdk/openai@3.0.73/packages/openai">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for <code>@ai-sdk/openai</code> since your current version.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xinyuan Lin <xinyual3@uci.edu> (cherry picked from commit 0eb7baa)
c015b5b to
70174e0
Compare
What changes were proposed in this PR?
Backport of #5816 to
release/v1.2: bump @ai-sdk/openai to 3.0.73 and ai to 6.0.208 in /agent-service.Cherry-pick with one conflict resolved: kept elysia at release/v1.2 value 1.4.27 (this PR must not bump it) while taking the ai-SDK transitive eventsource-parser 3.0.6→3.1.0. package.json/bun.lock applied cleanly.
Risk: 🔴 MAJOR — ai 5→6 and openai-provider 2→3. Runtime AI SDK; highest behavioral risk of the set.
Any related issues, documentation, discussions?
Backports #5816 (merged to
main). Norelease/*label is added — this PR is the backport, and a release label would trigger a backport-of-a-backport precheck. CI stacks auto-select from the file-based labels.How was this PR tested?
Mirrors the change already merged and CI-validated on
main(#5816); verified the backport diff equals the original bump and applies ontorelease/v1.2. Manual verification:Booted agent-service and ran an end-to-end LLM call through the agent (chat + tool-use + streaming) to confirm the new SDK shapes work at runtime.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.8 [1M context])