diff --git a/agent_reach/channels/wechat.py b/agent_reach/channels/wechat.py index 050b988..b7ebc4c 100644 --- a/agent_reach/channels/wechat.py +++ b/agent_reach/channels/wechat.py @@ -17,7 +17,7 @@ def _exa_available() -> bool: try: r = subprocess.run( [mcporter, "config", "list"], - capture_output=True, text=True, timeout=5, + capture_output=True, encoding="utf-8", errors="replace", timeout=5, ) return "exa" in r.stdout.lower() except Exception: