update
This commit is contained in:
@@ -560,8 +560,8 @@ async def bauen(ctx: llm.Kontext) -> None:
|
||||
offen = [b for b in _bausteine(ctx.topic) if b["status"] != "fertig"
|
||||
or (db.one("SELECT stage FROM sections WHERE baustein_id=?", (b["id"],)) or
|
||||
{"stage": "writer"})["stage"] != "done"]
|
||||
await llm.alle(_karte(ctx, b) for b in offen)
|
||||
await _kapitel_intros(ctx)
|
||||
# Intros brauchen nur Kapitel+Ziele (keine Sections) → parallel zu den Karten
|
||||
await llm.alle([*(_karte(ctx, b) for b in offen), _kapitel_intros(ctx)])
|
||||
|
||||
|
||||
def kapitel_struktur(topic: str) -> list[dict]:
|
||||
|
||||
Reference in New Issue
Block a user