Uh oh!
There was an error while loading. Please reload this page.
ref(server-utils): Add orchestrion support for Vercel AI v5 - #21979
Conversation
f47a718 to
d2d3306CompareThere was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d2d3306. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
size-limit report 📦
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
andreiborza
left a comment
There was a problem hiding this comment.
Nice, thanks for taking this over!
| enrichSpanOnEnd(span, message, options); | ||
| span.end(); | ||
| return value; | ||
| }, failSpan); |
There was a problem hiding this comment.
super-l: I guess this can be omitted, then we wouldn't need failSpan to have its own function and it can live in the catch block directly
| },failSpan); | |
| }); |
There was a problem hiding this comment.
this does not work because we are not awaiting the result and we likely do not want to because that would change things we return possibly 🤔

This adds orchestrion support for Vercel AI v5 (v6 support already exists).