update audit prompt

This commit is contained in:
Laura Abro
2025-04-25 06:41:55 -03:00
parent 8f12e574db
commit 44ba266ab5
3 changed files with 16 additions and 20 deletions

View File

@ -45,7 +45,8 @@ def execute(runner, worker, data):
response.raise_for_status()
if result.get("success"):
round_state = runner.state["rounds"][runner.current_round]
round_key = str(runner.current_round)
round_state = runner.state["rounds"].setdefault(round_key, {})
round_state["repo_url"] = (
f"https://github.com/{result['data']['repo_owner']}/{result['data']['repo_name']}"
)