|
@@ -58,6 +58,7 @@ func (l *GptsGetApiMessageLogic) GptsGetApiMessage(req *types.GptMessageReq, tok
|
|
|
}
|
|
|
|
|
|
user := fmt.Sprintf("%s:%d", userId, *req.AgentId)
|
|
|
+ fmt.Printf("user=%v ConversationId=%v firstId=%v, limit=%v\n", user, *req.ConversationId, firstId, limit)
|
|
|
response, err := dify.GetChatHistory(user, *req.ConversationId, firstId, limit)
|
|
|
if err != nil {
|
|
|
return nil, err
|