Spaces:
Sleeping
Sleeping
Update admin_messages.py
Browse files- admin_messages.py +1 -1
admin_messages.py
CHANGED
@@ -7,7 +7,7 @@ def extract_admin_message(ai_response):
|
|
7 |
Extract admin message from AI response and return both the admin message
|
8 |
and the cleaned response (without admin tags).
|
9 |
"""
|
10 |
-
admin_pattern = r'<
|
11 |
admin_messages = re.findall(admin_pattern, ai_response, re.DOTALL)
|
12 |
|
13 |
# Clean the response by removing admin tags and their content
|
|
|
7 |
Extract admin message from AI response and return both the admin message
|
8 |
and the cleaned response (without admin tags).
|
9 |
"""
|
10 |
+
admin_pattern = r'<order>(.*?)</order>'
|
11 |
admin_messages = re.findall(admin_pattern, ai_response, re.DOTALL)
|
12 |
|
13 |
# Clean the response by removing admin tags and their content
|