update code-review-agent.md

This commit is contained in:
Pinghua
2026-06-12 18:46:04 +08:00
parent e7830eb058
commit 923574f56f
3 changed files with 29 additions and 48 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ def format_issues_markdown(issues):
return "\n".join(parts)
_STANDARDS_URL = "/api/v1/repos/zeekrAI/knowledge-base/raw/docs/process/code-review.md?ref=main"
_STANDARDS_URL = "/zeekrAI/knowledge-base/raw/docs/process/code-review.md?ref=main"
def fetch_standards_doc(gitea_url, api_token):
-3
View File
@@ -535,9 +535,6 @@ def main():
print(f" Standards doc saved to: {standards_path}")
else:
print("[review_pr] Warning: failed to fetch review standards, continuing without")
standards_path = os.path.join(diff_dir, f"{prefix}_standards.md")
shutil.copy2(args.review_standards, standards_path)
print(f" Standards doc saved to: {standards_path}")
mon = None
prompt_file = os.path.join(diff_dir, f"{prefix}_prompt.txt")