Przeglądaj źródła

Update dialogue_manager: change timing of active conversation

StrayWarrior 2 tygodni temu
rodzic
commit
0cfc4fc43f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      dialogue_manager.py

+ 1 - 1
dialogue_manager.py

@@ -379,7 +379,7 @@ class DialogueManager:
         if hours_passed < threshold:
             return False
             # 根据时间上下文决定主动交互的状态
-        if time_context in [TimeContext.EARLY_MORNING, TimeContext.MORNING,
+        if time_context in [TimeContext.MORNING,
                             TimeContext.NOON, TimeContext.AFTERNOON,
                             TimeContext.EVENING]:
             self.previous_state = self.current_state