diff --git a/pr_agent/agent/pr_agent.py b/pr_agent/agent/pr_agent.py index b0e3a4c29..a6c7cf5ec 100644 --- a/pr_agent/agent/pr_agent.py +++ b/pr_agent/agent/pr_agent.py @@ -71,7 +71,6 @@ async def handle_request(self, pr_url, request, notify=None) -> bool: if notify: notify() - get_logger().info(f"Class: {command2class[action]}") await command2class[action](pr_url, ai_handler=self.ai_handler, args=args).run() else: return False diff --git a/pr_agent/cli.py b/pr_agent/cli.py index c955e3c54..5a6a6640a 100644 --- a/pr_agent/cli.py +++ b/pr_agent/cli.py @@ -5,6 +5,7 @@ from pr_agent.agent.pr_agent import PRAgent, commands from pr_agent.config_loader import get_settings from pr_agent.log import setup_logger + setup_logger() diff --git a/pr_agent/servers/github_action_runner.py b/pr_agent/servers/github_action_runner.py index 1d1f8a56e..45f9c712f 100644 --- a/pr_agent/servers/github_action_runner.py +++ b/pr_agent/servers/github_action_runner.py @@ -12,6 +12,7 @@ from pr_agent.tools.pr_description import PRDescription from pr_agent.tools.pr_reviewer import PRReviewer + def is_true(value: Union[str, bool]) -> bool: if isinstance(value, bool): return value