""" Prompt utility helpers. Legacy summarization-based history compaction was intentionally removed. History is now preserved in storage and bounded only at prompt-build time. """ from asgiref.sync import sync_to_async async def delete_messages(queryset): await sync_to_async(queryset.delete, thread_sensitive=True)()