Niansuh commited on
Commit
4f37972
·
verified ·
1 Parent(s): 4c8142c

Update api/utils.py

Browse files
Files changed (1) hide show
  1. api/utils.py +2 -0
api/utils.py CHANGED
@@ -93,6 +93,8 @@ async def process_streaming_response(request: ChatRequest):
93
 
94
  headers_api_chat = get_headers_api_chat(referer_url)
95
  validated_token = validate.getHid() # Get the validated token from validate.py
 
 
96
 
97
  if request.model == 'o1-preview':
98
  delay_seconds = random.randint(1, 60)
 
93
 
94
  headers_api_chat = get_headers_api_chat(referer_url)
95
  validated_token = validate.getHid() # Get the validated token from validate.py
96
+ logger.info(f"Retrieved validated token: {validated_token}")
97
+
98
 
99
  if request.model == 'o1-preview':
100
  delay_seconds = random.randint(1, 60)