Merge pull request #660 from Codium-ai/ok/add_command_to_log

Add logging context to command execution in pr_agent.py
This commit is contained in:
Ori Kotek 2024-02-15 12:27:25 +02:00 committed by GitHub
commit 4947c6b841
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,6 +69,7 @@ class PRAgent:
args = update_settings_from_args(args)
action = action.lstrip("/").lower()
with get_logger().contextualize(command=action):
if action == "reflect_and_review":
get_settings().pr_reviewer.ask_and_reflect = True
if action == "answer":