Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def handle_message():
|
|
227 |
# If there's an admin message, save it to the GitHub JSON file
|
228 |
if admin_message:
|
229 |
print(f"Admin message detected: {admin_message}")
|
230 |
-
save_admin_message(page_id, admin_message,
|
231 |
# Use the cleaned response (without admin tags) for the user
|
232 |
ai_response = cleaned_response
|
233 |
|
|
|
227 |
# If there's an admin message, save it to the GitHub JSON file
|
228 |
if admin_message:
|
229 |
print(f"Admin message detected: {admin_message}")
|
230 |
+
save_admin_message(page_id, admin_message, sender_id, user_full_name)
|
231 |
# Use the cleaned response (without admin tags) for the user
|
232 |
ai_response = cleaned_response
|
233 |
|