Update app.py
Browse files
app.py
CHANGED
@@ -330,7 +330,7 @@ async def chat_thread(request: Request, user_id: str):
|
|
330 |
# Save conversation history to disk
|
331 |
thread_history = ({"user_id": user_id, "thread": conversation_thread})
|
332 |
# Return response and thread ID
|
333 |
-
return {'response':
|
334 |
except HTTPException as e:
|
335 |
raise e
|
336 |
except Exception as e:
|
|
|
330 |
# Save conversation history to disk
|
331 |
thread_history = ({"user_id": user_id, "thread": conversation_thread})
|
332 |
# Return response and thread ID
|
333 |
+
return {'response': thread_history}
|
334 |
except HTTPException as e:
|
335 |
raise e
|
336 |
except Exception as e:
|