Pārlūkot izejas kodu

Merge branch 'yhg_241210_dify' into debug

jimmyyem 3 mēneši atpakaļ
vecāks
revīzija
868d5ba506

+ 2 - 1
internal/logic/chatrecords/gpts_get_api_message_logic.go

@@ -63,7 +63,8 @@ func (l *GptsGetApiMessageLogic) GptsGetApiMessage(req *types.GptMessageReq, tok
 	if err != nil {
 		return nil, err
 	}
-
+	fmt.Printf("response=%v\n", response)
+	
 	resp.Data.HasMore = response.HasMore
 	for _, v := range response.Data {
 		resp.Data.Data = append(resp.Data.Data, types.Message{

+ 1 - 0
internal/logic/chatrecords/gpts_get_api_session_logic.go

@@ -61,6 +61,7 @@ func (l *GptsGetApiSessionLogic) GptsGetApiSession(req *types.GptsSessionReq, to
 	if err != nil {
 		return nil, err
 	}
+	fmt.Printf("response=%v\n", response)
 
 	resp.Data.HasMore = response.HasMore
 	for _, v := range response.Data {