Simon Deflesschouwer
Simon Deflesschouwer
Hey 👋 Could you provide your `streamUI` code ? I was facing a similar issue and I would like to compare Thanks @kevb10
I meant the whole page (https://sdk.vercel.ai/examples/next-app/tools/render-interface-during-tool-call) was returning a 500 error, not the example code in the page. But it's now working perfectly fine ! Thank you for your answer...
I'm using `next 14.1.0` and `react 18.2.0`
It seems like the problem appeared in [5b7b3bbe](https://github.com/vercel/ai/commit/5b7b3bbe#diff-1f344ac391eeecc21ec0f01fb07430a47f4b80d20485c125447d54c33c4bbfc4). (@ai-sdk/react 0.0.25) and more precisely the update of @ai-sdk/ui-utils from 0.0.15 to 0.0.16 Potentially with the change of the swr version. As...
@shivankkunwar migrating to ai v4.0 and swr 2.3 did the work for me
@lgrammel in the doc you import it from `ai`: ```js import { zodSchema } from 'ai ``` But ai does not export it, Isn't that more like it ? ```js...
i'm trying to migrate to give you an answer. Did you remove the [zodSchema](https://v5.ai-sdk.dev/docs/reference/ai-sdk-core/zod-schema) helper on v5 ? I need this for circular dependencies
I have successfully migrated on v5 it works well. It seems that the problem comes from the use of `z.union` and `.or()` from zod in tools schemas. when removing this...
Here it is: https://codesandbox.io/s/rhf-fieldlist-issue-68flr
@mdjastrzebski I didn't know for `getBy` queries ! I will remove de `expect().` . What I want to achieve in my test , is to check if the component is...