Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix: 移除网关转发锁内全量 payload INFO 日志,解决主流程阻塞卡死

gunner_beat75aab8c0a8b9
diff --git a/jiuwenswarm/gateway/routing/agent_client.py b/jiuwenswarm/gateway/routing/agent_client.py
index 7bb4e8a088..680f55fae9 100644
--- a/jiuwenswarm/gateway/routing/agent_client.py
+++ b/jiuwenswarm/gateway/routing/agent_client.py
@@ -430,7 +430,6 @@ class WebSocketAgentServerClient(AgentServerClient):
# 发送请求
async with self._lock:
payload = _e2a_to_wire(envelope)
- logger.info("[WebSocketAgentServerClient] 发送请求(非流式) payload: %s", _to_json(payload))
await self._send_wire_payload(payload)
try:
@@ -484,7 +483,6 @@ class WebSocketAgentServerClient(AgentServerClient):
# 发送请求
async with self._lock:
payload = _e2a_to_wire(envelope)
- logger.info("[WebSocketAgentServerClient] 发送请求(流式) payload: %s", _to_json(payload))
await self._send_wire_payload(payload)
# 从队列中接收流式响应