13 lines
326 B
Python
13 lines
326 B
Python
"""
|
|
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)()
|