feat: graceful skip without API key + finalize workflows (container/memory caps, ARM64)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -74,6 +74,11 @@ def main() -> int:
|
||||
print("[ai_review] PR vom Bot selbst — übersprungen.")
|
||||
return 0
|
||||
|
||||
ok, why = llm.configured()
|
||||
if not ok:
|
||||
print(f"[ai_review] KI inaktiv ({why}) — Schritt sauber übersprungen, kein Fehler.")
|
||||
return 0
|
||||
|
||||
diff = filter_diff(gitea_api.get_pr_diff(owner, repo, pr["index"]))
|
||||
if not diff:
|
||||
print("[ai_review] Leerer/gefilterter Diff — nichts zu reviewen.")
|
||||
|
||||
Reference in New Issue
Block a user