Browse Source

Merge branch 'dev_20241205' of ssh://gitlab.fuxicarbon.com:1111/client_service/voice-gateway-service into dev_20241205

DavidLiu 3 months ago
parent
commit
2ddd00da42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/voip/bot.py

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

@@ -416,7 +416,7 @@ class ToTextBotAgent:
         self.call_agent.logger.info(f"请求数据:{request_data},url:{url}")
         try:
             response = requests.post(url=url,  json=json.loads(request_data), headers=headers, timeout=10)  # 使用占位URL
-            self.call_agent.logger.info(f"chat::request:{request_data}, response:{response.text}")
+            self.call_agent.logger.info(f"sessionId={ self.call_agent.session_id}, chat::request:{request_data}, response:{response.text}")
             if response.status_code == 200:
                 response_data = response.json()
                 if "data" in response_data and response_data["code"]==0: