jimmyyem 3 сар өмнө
parent
commit
008c1b699a

+ 1 - 1
internal/logic/chatrecords/gpts_submit_api_chat_logic.go

@@ -170,7 +170,7 @@ func (l *GptsSubmitApiChatLogic) GptsSubmitApiChat(tokenStr string, req *types.G
 			if err != nil {
 				fmt.Printf("json unmarshall error:%v\n", err)
 				fmt.Printf("line:%v\n", line)
-				break
+				continue
 			}
 
 			answer = answer + chatData.Answer