Migrating v4 to v5 in Vercel's AI SDK