Skip to content

ai 3.4.33 -> v7: what changes in ai-analyst #36

Description

@SohamJa1n

Hi, I checked ai-analyst's chat route and found 2 changes relevant to a future AI SDK v7 upgrade:

  • app/api/chat/route.ts:8: Required - convertToCoreMessages was removed in v6; migrate to convertToModelMessages and await the conversion in v6+.
  • app/page.tsx:4: Required - the ai/react entrypoint moved to @ai-sdk/react in v5.

I build Emendant, the tool I used to find this. The scan was against commit 53de789.
A maintainer recently took one of these reports and we turned it into a PR that merged the same day: heysagnik/diy-analytics#30
Is moving to v7 on your roadmap, or is v3 working well enough that it isn't a priority?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions