From 1bc206e7b2a46335ae8e5ab329cb0d8979bb3542 Mon Sep 17 00:00:00 2001 From: Ori Kotek Date: Wed, 12 Jul 2023 11:31:06 +0300 Subject: [PATCH] Remove installation_id from cli --- pr_agent/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/cli.py b/pr_agent/cli.py index 0d32e921..66d00cd1 100644 --- a/pr_agent/cli.py +++ b/pr_agent/cli.py @@ -15,11 +15,11 @@ def run(): logging.basicConfig(level=os.environ.get("LOGLEVEL", "INFO")) if args.question: print(f"Question: {args.question} about PR {args.pr_url}") - reviewer = PRQuestions(args.pr_url, args.question, installation_id=None) + reviewer = PRQuestions(args.pr_url, args.question) asyncio.run(reviewer.answer()) else: print(f"Reviewing PR: {args.pr_url}") - reviewer = PRReviewer(args.pr_url, installation_id=None, cli_mode=True) + reviewer = PRReviewer(args.pr_url, cli_mode=True) asyncio.run(reviewer.review())