mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
refactor: remove unnecessary user reply check in session history logic
This commit is contained in:
@@ -317,8 +317,6 @@ class MoviePilotAgent:
|
|||||||
"""
|
"""
|
||||||
判断当前 Agent 是否需要写入会话历史表。
|
判断当前 Agent 是否需要写入会话历史表。
|
||||||
"""
|
"""
|
||||||
if self._tool_context.get("user_reply_sent"):
|
|
||||||
return False
|
|
||||||
return bool(self.channel and self.source)
|
return bool(self.channel and self.source)
|
||||||
|
|
||||||
def _save_display_history_messages(self, messages: List[dict]) -> None:
|
def _save_display_history_messages(self, messages: List[dict]) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user