diff --git a/modules/routes/routeChatbot.py b/modules/routes/routeChatbot.py index c0ee5bee..48f74e5b 100644 --- a/modules/routes/routeChatbot.py +++ b/modules/routes/routeChatbot.py @@ -46,6 +46,10 @@ async def post_chat_message_stream( Returns Server-Sent Events (SSE) stream with status updates and final response. """ try: + # TODO: Add helper here, if no thread id is provided, add entry in mapping table. + + # TODO: If not provided, create new thread in LangGraph's checkpointer, and add it to mapping table. + # Generate or use existing thread_id thread_id = message_request.thread_id or f"thread_{uuid.uuid4()}"