cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice

Home Page:https://www.chatwithgpt.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streaming issue (maybe)

amFarrouk opened this issue · comments

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

Same here, any solutions?

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/

Thanks, it works!

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