Skip to content

Commit b8a372c

Browse files
committed
update:修改错误提示
1 parent 23efed3 commit b8a372c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/handlers/websocket_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def _handle_tool_message(self, agent_id: str, message: str):
4949
logger.error(f"没有特定目标,无法转发消息")
5050
except json.JSONDecodeError:
5151
# 如果不是JSON格式,按原来的方式处理
52-
logger.error(f"工具端消息不是有效的JSON格式: {message}")
52+
logger.error(f"由于消息不是JSON格式,已忽略: {message}")
5353

5454
except json.JSONDecodeError:
5555
logger.error(f"工具端消息格式错误: {message}")

0 commit comments

Comments
 (0)