Dooratre commited on
Commit
157f160
·
verified ·
1 Parent(s): 539396e

Update admin_messages.py

Browse files
Files changed (1) hide show
  1. 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'<admin>(.*?)</admin>'
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