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