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
I figured out that I need to set the option "reactNative": { textStreaming: true }.
Now the type is correct, but I receive a single chunk for the entire contents of the response.
Activity
2ico commentedon Dec 14, 2023
I figured out that I need to set the option
"reactNative": { textStreaming: true }.Now the type is correct, but I receive a single chunk for the entire contents of the response.
2ico commentedon Dec 15, 2023
I tried on iPhone and it works. Seems to be a problem with Android only.
Related: https://stackoverflow.com/questions/69235694/react-native-cant-connect-to-sse-in-android/69235695#69235695
fukemy commentedon Feb 22, 2024
Hi, did you make it work for Android?
2ico commentedon Feb 27, 2024
Hi, no I didn't. Debug mode doesn't stream.
I read that it works fine in release mode, but I couldn't try it yet.