chore: add todos
This commit is contained in:
parent
625003dcc0
commit
8f96c3ef30
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ async def post_chat_message_stream(
|
||||||
Returns Server-Sent Events (SSE) stream with status updates and final response.
|
Returns Server-Sent Events (SSE) stream with status updates and final response.
|
||||||
"""
|
"""
|
||||||
try:
|
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
|
# Generate or use existing thread_id
|
||||||
thread_id = message_request.thread_id or f"thread_{uuid.uuid4()}"
|
thread_id = message_request.thread_id or f"thread_{uuid.uuid4()}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue