darsoarafa commited on
Commit
ab6c261
·
verified ·
1 Parent(s): 0913e86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ async def post_chat(
167
  # add new messages (e.g. the user prompt and the agent response in this case) to the database
168
  print("---",result.new_messages_json(),"---")
169
  #print("***",prompt,"***")
170
- #await database.add_messages(result.new_messages_json())
171
 
172
  if prompt[0] == "@" :
173
  #print("@@@", prompt, "@@@")
 
167
  # add new messages (e.g. the user prompt and the agent response in this case) to the database
168
  print("---",result.new_messages_json(),"---")
169
  #print("***",prompt,"***")
170
+ await database.add_messages(result.new_messages_json())
171
 
172
  if prompt[0] == "@" :
173
  #print("@@@", prompt, "@@@")