refactor: remove chat-related fields and legacy podcast generation function

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-12-21 23:31:11 -08:00
parent c2dcb2045d
commit 1cbb1b5d66
5 changed files with 50 additions and 20 deletions

View file

@ -72,8 +72,7 @@ def generate_content_podcast_task(
"""
Celery task to generate podcast from source content (for new-chat).
Unlike generate_chat_podcast which requires a chat_id, this task
generates a podcast directly from provided content.
This task generates a podcast directly from provided content.
Args:
source_content: The text content to convert into a podcast
@ -164,8 +163,6 @@ async def _generate_content_podcast(
podcast_transcript=serializable_transcript,
file_location=file_path,
search_space_id=search_space_id,
chat_id=None, # No chat_id for new-chat podcasts
chat_state_version=None,
)
session.add(podcast)
await session.commit()