You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I tried to use this package inside wechat miniapp via taro. Since there's no fetch inside wechat's runtime, I tried to use a fetch polyfill and pass it to useChat hook. However it's giving me error like fetch2 is not a function. I have checked the source code, fetch seems in the typing but not in the actual code?
Description
Hello. I tried to use this package inside wechat miniapp via taro. Since there's no fetch inside wechat's runtime, I tried to use a fetch polyfill and pass it to useChat hook. However it's giving me error like
fetch2 is not a function
. I have checked the source code, fetch seems in the typing but not in the actual code?ai/packages/react/src/use-chat.ts
Line 178 in 2eb7476
Code example
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: