Explorar o código

Update dialogue_manager: do not initiate in evening

StrayWarrior hai 1 semana
pai
achega
764e78e9a0
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      dialogue_manager.py

+ 1 - 2
dialogue_manager.py

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