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:
2026-06-09 17:05:33 +02:00
parent acda85cbff
commit 7abff71561
5 changed files with 66 additions and 38 deletions

View File

@@ -48,6 +48,10 @@ def main() -> int:
return 2
kind = KINDS[sys.argv[1]]
ok, why = llm.configured()
if not ok:
print(f"[ai_explain] KI inaktiv ({why}) — Erklärung sauber übersprungen, kein Fehler.")
return 0
with open(sys.argv[2], encoding="utf-8", errors="replace") as fh:
text = fh.read()
if len(text) > LOG_CAP: