Update .gitea/scripts/code_review.py #12

Merged
mschoi merged 1 commits from mschoi-patch-2 into main 2025-01-26 23:04:48 +09:00

View File

@@ -213,6 +213,8 @@ def analyze_full_context(
file_contents.append(f"File: {file}")
file_contents.append(content)
file_contents.append(f"Diff: {chunk}")
if not file_contents:
return ""
title = EVENT_DATA["pull_request"]["title"]
description = EVENT_DATA["pull_request"]["body"]