Spaces:
Sleeping
Sleeping
Nagesh Muralidhar
commited on
Commit
·
1aeaa53
1
Parent(s):
c99885f
midterm-submission
Browse files- server/main.py +1 -1
server/main.py
CHANGED
@@ -323,7 +323,7 @@ async def get_podcast_context(podcast_id: str):
|
|
323 |
logger.error(f"Error in get_podcast_context: {str(e)}", exc_info=True)
|
324 |
raise HTTPException(status_code=500, detail=str(e))
|
325 |
|
326 |
-
@
|
327 |
async def podcast_chat(podcast_id: str, request: PodcastChatRequest):
|
328 |
"""Handle chat messages for a specific podcast."""
|
329 |
try:
|
|
|
323 |
logger.error(f"Error in get_podcast_context: {str(e)}", exc_info=True)
|
324 |
raise HTTPException(status_code=500, detail=str(e))
|
325 |
|
326 |
+
@api_router.post("/podcast-chat/{podcast_id}", response_model=PodcastChatResponse)
|
327 |
async def podcast_chat(podcast_id: str, request: PodcastChatRequest):
|
328 |
"""Handle chat messages for a specific podcast."""
|
329 |
try:
|