AI SDK type instantiation possibly infinite
Hey there. I'm running tanstack start and the AI sdk. The issue I'm getting is
Could someone please help me to get this to work? Chat message persistence doesn't work without this
https://tsplay.dev/Wk6kLm
Type instantiation is excessively deep and possibly infinite.. I'm getting this when attempting to return a UIMessage nor ModelMessage from a server function created by createServerFn.Could someone please help me to get this to work? Chat message persistence doesn't work without this
https://tsplay.dev/Wk6kLm
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.