cortex.cpp icon indicating copy to clipboard operation
cortex.cpp copied to clipboard

bug: ChatGPT-Next-Web does not work properly with nitro

Open caizongchao opened this issue 2 years ago • 2 comments

Chat GPT Next (https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git) reports "fetch error" while connecting to nitro server.

Recompile nitro with ALLOW_ALL_CORS resolved this issue, but it still cannot work properly in streaming mode. The content-type of nitroStreamResonse has to be set to "text/event-stream" to make response streaming work properly.

drogon::HttpResponse::newStreamResponse(callback, attachmentFileName, drogon::CT_CUSTOM, "text/event-stream");

caizongchao avatar Jan 10 '24 03:01 caizongchao

I have the same issue as you also, even tho it seems working fine on other UIs, very strange

tikikun avatar Jan 11 '24 01:01 tikikun

if you're familiar with chatgptnextweb, can support debugging on that end

tikikun avatar Jan 11 '24 01:01 tikikun

close due to non responding

tikikun avatar Feb 06 '24 05:02 tikikun