Davidliu 3 months ago
parent
commit
ba23a28cb0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/voip/bot.py

+ 1 - 0
src/core/voip/bot.py

@@ -454,6 +454,7 @@ class ToTextBotAgent:
                         try_count = try_count - 1
                         response = session.post(url=url, json=json.loads(request_data), timeout=3)
                         # response = requests.post(url=url,  json=json.loads(request_data), headers=headers, timeout=10)  # 使用占位URL
+                        self.call_agent.logger.info("to_request come in , try_count=%s", try_count)
                         if response.status_code == 200:
                             response_data = response.json()
                             if "data" in response_data and response_data["code"]==0: