feat: 拉取聊天记录

11111
winter 1 year ago
parent d1bb7d56a9
commit fb49fea68e

@ -70,7 +70,7 @@ public class ChatMessageServiceImpl implements ChatMessageService {
});
// 错误的回调
listener.setOnError((s) -> {
log.error("callback: ws error" );
log.error("callback: ws error, info: " + s);
// 返还积分
});
List<SparkChatRequestParam.Message> messageList = fetchContext(sessionId, userPrompt);

Loading…
Cancel
Save