This commit is contained in:
team3
2026-07-13 12:31:25 +02:00
parent 32d7ad9ea1
commit 9cd8e02e22
34 changed files with 747 additions and 606 deletions

View File

@@ -85,6 +85,13 @@ def aktualisierung_starten(topic: str, ebene: str, tief: bool = False) -> int:
return run_id
def lauf_pausieren(topic: str) -> None:
"""Sanfte Pause: Wartende + Neue stoppen, Laufende laufen aus. Der Lauf endet
als 'paused', sobald der nächste Call die Pause bemerkt (ManuellePause);
Start setzt normal fort (abbruch_aufheben hebt die Pause auf)."""
agents.pausieren(f"{topic}-")
def lauf_stoppen(topic: str) -> None:
agents.abbrechen(f"{topic}-")
task = _laeufe.get(topic)