mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
chore(core): add TODO to use RunningFlowContext for message timestamp in CoreModel
This commit is contained in:
@@ -168,6 +168,7 @@ public class CoreModel extends AbstractAgentModule.Running<PartnerRunningFlowCon
|
||||
}
|
||||
});
|
||||
//添加时间标志
|
||||
// TODO 此处的时间标识应当采用 RunningFlowContext 携带时间
|
||||
String dateTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("\r\n**[yyyy-MM-dd HH:mm:ss]"));
|
||||
Message primaryUserMessage = new Message(ChatConstant.Character.USER, runningFlowContext.getCoreContext().getText() + dateTime);
|
||||
chatMessages.add(primaryUserMessage);
|
||||
|
||||
Reference in New Issue
Block a user