T.safeParseAsync is not a function

Hi,

in preview getting this error - ✗ Error: Type validation failed: Value: {“type”:“start”}. Error message: T.safeParseAsync is not a function. This is because AI SDK updated 10/10/2025 and now can’t preview. when you will update preview environment with latest libraries? On prod/live version works great.

Thanks

Angel

1 Like

Can you try updating your zod to the latest version? This sounds like a mismatch between the AI SDK version of Zod and the rest of your project