Description
After upgrading to v3.3.30, I receive the following error:

Code example
You can find the reproduction of the bug in this repository: https://github.com/WoetDev/bug-next-ai-sdk
It's a reproduction of the official example for using AI assistants with the Next.js app router, so this example seems to be broken: https://sdk.vercel.ai/examples/next-app/assistants/stream-assistant-responses
You only need to add your OPENAI API key in the .env file:
Additional context
Noticed this issue when upgrading packages, this is affecting the AI functionality in my production app and blocking me from upgrading.
Description
After upgrading to v3.3.30, I receive the following error:

Code example
You can find the reproduction of the bug in this repository: https://github.com/WoetDev/bug-next-ai-sdk
It's a reproduction of the official example for using AI assistants with the Next.js app router, so this example seems to be broken: https://sdk.vercel.ai/examples/next-app/assistants/stream-assistant-responses
You only need to add your OPENAI API key in the .env file:
Additional context
Noticed this issue when upgrading packages, this is affecting the AI functionality in my production app and blocking me from upgrading.