2025-12-21 22:26:33 -08:00
|
|
|
"""
|
|
|
|
|
Legacy podcast task for old chat system.
|
|
|
|
|
|
|
|
|
|
NOTE: The old Chat model has been removed. This module is kept for backwards
|
|
|
|
|
compatibility but the generate_chat_podcast function will raise an error
|
|
|
|
|
if called. Use generate_content_podcast_task in celery_tasks/podcast_tasks.py
|
|
|
|
|
for new-chat podcast generation instead.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
from app.db import Podcast # noqa: F401 - imported for backwards compatibility
|
2025-05-05 23:18:12 -07:00
|
|
|
|
|
|
|
|
|
2025-12-21 23:31:11 -08:00
|
|
|
async def generate_chat_podcast(*args, **kwargs):
|
2025-12-21 22:26:33 -08:00
|
|
|
"""
|
|
|
|
|
Legacy function for generating podcasts from old chat system.
|
|
|
|
|
|
|
|
|
|
This function is deprecated as the old Chat model has been removed.
|
|
|
|
|
Use generate_content_podcast_task for new-chat podcast generation.
|
|
|
|
|
"""
|
|
|
|
|
raise NotImplementedError(
|
|
|
|
|
"generate_chat_podcast is deprecated. The old Chat model has been removed. "
|
|
|
|
|
"Use generate_content_podcast_task for podcast generation from new-chat."
|
2025-05-05 23:18:12 -07:00
|
|
|
)
|