Skip to content

Conversation

@Misbah-Engr
Copy link

…m/main (establish merge base for PR)

  • Sync with upstream history to allow PR.
  • Includes CHANGELOG and build/type fixes, Prisma binaryTargets, and chat/tool UI typings.

@Misbah-Engr Misbah-Engr force-pushed the pr/misbah-sync-upstream-20250816 branch 2 times, most recently from 7a65925 to 15f40f4 Compare August 16, 2025 16:09
@Misbah-Engr Misbah-Engr changed the title Port branch codespace-stunning-parakeet-jwxr96jg7p9f5v47 onto upstrea… Vercel.AI SDK upgrade v4 -> v5 Aug 16, 2025
@Misbah-Engr Misbah-Engr changed the title Vercel.AI SDK upgrade v4 -> v5 Vercel AI SDK upgrade v4 -> v5 Aug 16, 2025
Copy link
Author

@Misbah-Engr Misbah-Engr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@SpyC0der77
Copy link
Contributor

@jasonhedman Is it intentional that you require your approval for the checks to run?

@jasonhedman
Copy link
Owner

@jasonhedman Is it intentional that you require your approval for the checks to run?

Yes for first-time contributors

Copy link
Author

@Misbah-Engr Misbah-Engr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the pnpm version

Copy link
Owner

@jasonhedman jasonhedman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great first step.

I changed a lot of the type definitions and usage, mainly to fully leverage the type-safety benefits of v5 of the SDK.

I would like to avoid user-defined types as much as possible as they mask what is happening internally within the AI SDK.

Please see my comments regarding turning off parts of the setup script conditionally. If you can provide justification as to why that is desired behavior i am happy to leave it in. The goal with the setup script is to aid first-time developers, so I would prefer to leave in most of the opinionated code.

Also I see you mocked the generateImage functionality which we will need before this can get merged.

@Misbah-Engr
Copy link
Author

I will address all the issues. Thanks for all the review and comments.

@Misbah-Engr Misbah-Engr force-pushed the pr/misbah-sync-upstream-20250816 branch from 2cbc7af to c4e4543 Compare August 18, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants