This commit is contained in:
Team3
2026-05-29 15:49:22 +02:00
parent 5cf0822f5a
commit a826e9f6b3
5 changed files with 46 additions and 24 deletions

View File

@@ -135,7 +135,7 @@ async def add_baustein(req: BausteinCreateRequest):
"updated_at": now,
}
await db_create_baustein(baustein)
asyncio.create_task(generate_baustein_detail(baustein["id"], baustein["topic"], baustein["title"]))
asyncio.create_task(generate_baustein_detail(baustein["id"], baustein["topic"], baustein["title"], req.instructions.strip()))
return baustein