jtsang4 / claude-to-chatgpt

This project converts the API of Anthropic's Claude model to the OpenAI Chat API format.
MIT License
1.27k stars 150 forks source link

Streaming doesn't seems to work in Cloudflare #24

Open longseespace opened 1 year ago

longseespace commented 1 year ago

Basically the title. It always ends the connection prematurely.

Sometimes it ends before even sending any response

The event stream would look like this

[DONE]

saliksik commented 1 year ago

Up! I also encountered similar issues using Cloudflare. Hope this can be fix.

jtsang4 commented 1 year ago

Thanks to https://github.com/jtsang4/claude-to-chatgpt/pull/27 , you can try it again.