Grt1228 / chatgpt-steam-output

Open AI ChatGPT流式输出。Open AI Stream output. ChatGPT Stream output.GPT-3.5
461 stars 173 forks source link

websocket输入问题后,报错 #36

Closed Jie-gi closed 8 months ago

Jie-gi commented 8 months ago

java.lang.ClassCastException: org.springframework.web.servlet.mvc.method.annotation.SseEmitter cannot be cast to java.lang.String at com.unfbx.chatgptsteamoutput.websocket.WebSocketServer.onMessage(WebSocketServer.java:120)

Jie-gi commented 8 months ago

同一个id 建立多个链接导致