|
@@ -703,8 +703,8 @@ class DialogueManager:
|
|
|
消息列表
|
|
|
"""
|
|
|
dialogue_history = self.history_dialogue_service.get_dialogue_history(self.staff_id, self.user_id)
|
|
|
- logger.debug("staff[{}], user[{}], dialogue_history: {}".format(
|
|
|
- self.staff_id, self.user_id, dialogue_history
|
|
|
+ logger.debug("staff[{}], user[{}], recent dialogue_history: {}".format(
|
|
|
+ self.staff_id, self.user_id, dialogue_history[-20:]
|
|
|
))
|
|
|
messages = []
|
|
|
config = {
|