refactor(PFC): 将424行get_message_history方法重命名为get_cached_messages防止Ruff炸掉喵

This commit is contained in:
DrSmoothl
2025-04-09 11:34:04 +08:00
parent a42d1b3664
commit eae0d06d33
4 changed files with 9 additions and 9 deletions

View File

@@ -195,7 +195,7 @@ class GoalAnalyzer:
return self.goals[1:].copy()
async def analyze_conversation(self, goal, reasoning):
messages = self.chat_observer.get_message_history()
messages = self.chat_observer.get_cached_messages()
chat_history_text = ""
for msg in messages:
time_str = datetime.datetime.fromtimestamp(msg["time"]).strftime("%H:%M:%S")