@@ -109,6 +109,7 @@ public class ChatHistoryController extends BaseController {
messages.add(jsonRole);
}
System.out.println("Message length: " + length);
+ log.info("Message length: " + length);
//反转顺序
int size = messages.size();
for (int i = 0; i< size; i++){
@@ -162,6 +162,7 @@ public class DialogueController extends BaseController {
System.out.println("Message length ="+length);
+ log.info("Message length ="+length);