Vitrous commited on
Commit
44f3854
·
verified ·
1 Parent(s): 77c7d1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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': history_thread}
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: