Open
Description
Description
Hi while implementing experimental resume following the official guide, we ran into this issue:
experimental_resume makes call to api/chat?chatId=undefined
but we have provided id to useChat({ id: projectId })
and made sure that the projectId passed in is not undefined
Even the source code for useChat seems to suggest that the id will be provided or a fallback random ID will be created, but how come this is giving undefined value while making GET request?
Please help resolve this / provide some pointers, thanks in advance!
AI SDK Version
- resume-stream: 2.1.0
- ai: 4.3.15