cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice
https://www.chatwithgpt.ai
MIT License
2.31k stars 494 forks source link

Streaming issue (maybe) #205

Open amFarrouk opened 8 months ago

amFarrouk commented 8 months ago

image

{model: "gpt-4",…} messages : [{role: "system",…}, {role: "user", content: "hello"}, {role: "assistant", content: "! I today?"},…] 0 : {role: "system",…} 1 : {role: "user", content: "hello"} content : "hello" role : "user" 2 : {role: "assistant", content: "! I today?"} content : "! I today?" role : "assistant" 3 : {role: "user", content: "hello"} content : "hello" role : "user" 4 : {role: "assistant", content: "! I assist you today?"} content : "! I assist you today?" role : "assistant" 5 : {role: "user", content: "hello"} content : "hello" role : "user" model : "gpt-4" stream : true temperature : 0

dooshek commented 8 months ago

Same here, any solutions?

leoffx commented 8 months ago

If you're looking for a fixed version, I deployed a hotfix on mine https://github.com/leoffx/chat-with-gpt / https://chatwithgpt-app.web.app/

dooshek commented 7 months ago

Thanks, it works!

ghost commented 5 months ago

Hi @leoffx, had you also time to fix the docker image?