Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -526,7 +526,7 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
|
|
526 |
conversations[query.conversation_id].append({"role": "assistant", "content": full_response})
|
527 |
|
528 |
background_tasks.add_task(update_db, query.user_id, query.conversation_id, query.query, full_response)
|
529 |
-
logger.info(f"Completed followup agent response for query: {query.query}")
|
530 |
|
531 |
return StreamingResponse(process_response(), media_type="text/event-stream")
|
532 |
|
|
|
526 |
conversations[query.conversation_id].append({"role": "assistant", "content": full_response})
|
527 |
|
528 |
background_tasks.add_task(update_db, query.user_id, query.conversation_id, query.query, full_response)
|
529 |
+
logger.info(f"Completed followup agent response for query: {query.query}, send result: {result}")
|
530 |
|
531 |
return StreamingResponse(process_response(), media_type="text/event-stream")
|
532 |
|