Closed egcash closed 1 year ago
I performed everything carefully. But,when I did : curl -X POST 'http://localhost:8000/api/conversation' -H 'accept:text/event-stream' -H 'Content-Type:application/json' -d '{ "model": "https://huggingface.co/spaces/justest/gpt4free", "messages": [ { "role": "user", "content": "hello" } ] }'
I got this response : ReactNativeBlobUtil failed to encode response data to BASE64 string.
@egcash It looks like an error reported by react-native
What's the solution?
I performed everything carefully. But,when I did : curl -X POST 'http://localhost:8000/api/conversation' -H 'accept:text/event-stream' -H 'Content-Type:application/json' -d '{ "model": "https://huggingface.co/spaces/justest/gpt4free", "messages": [ { "role": "user", "content": "hello" } ] }' I got this response : ReactNativeBlobUtil failed to encode response data to BASE64 string.
@egcash It looks like an error reported by react-native
@weaigc What's the solution?
I performed everything carefully. But,when I did : curl -X POST 'http://localhost:8000/api/conversation' -H 'accept:text/event-stream' -H 'Content-Type:application/json' -d '{ "model": "https://huggingface.co/spaces/justest/gpt4free", "messages": [ { "role": "user", "content": "hello" } ] }'
I got this response : ReactNativeBlobUtil failed to encode response data to BASE64 string.