소스 검색

Update dialogue_manager: change timing of active conversation

StrayWarrior 1 개월 전
부모
커밋
0cfc4fc43f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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