Spaces:
Sleeping
Sleeping
darsoarafa
commited on
Update app.py
Browse files
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 |
-
|
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, "@@@")
|