Add analytics logging

This commit is contained in:
Ori Kotek
2024-02-26 16:15:23 +02:00
parent 64feef585a
commit 8843f7bc8b
3 changed files with 9 additions and 2 deletions

View File

@ -74,6 +74,7 @@ class PRAgent:
action = action.lstrip("/").lower()
with get_logger().contextualize(command=action):
get_logger().info("PR-Agent request handler started", analytics=True)
if action == "reflect_and_review":
get_settings().pr_reviewer.ask_and_reflect = True
if action == "answer":