diff --git a/app/agent/__init__.py b/app/agent/__init__.py index cb0e3e00..7a709e08 100644 --- a/app/agent/__init__.py +++ b/app/agent/__init__.py @@ -138,7 +138,7 @@ class MoviePilotAgent: """ 是否为后台任务模式(无渠道信息,如定时唤醒) """ - return not self.channel and not self.source + return not self.channel or not self.source def _should_stream(self) -> bool: """ @@ -151,8 +151,6 @@ class MoviePilotAgent: """ if self.is_background: return False - if not self.channel: - return False # 啰嗦模式下始终需要流式输出来捕获工具调用前的 Agent 文字 if settings.AI_AGENT_VERBOSE: return True