From e4ad2432fd74d9e05b5f70570333fd66d11d00a0 Mon Sep 17 00:00:00 2001 From: ogt Date: Sat, 25 Apr 2026 09:47:31 +0800 Subject: [PATCH] fix: remove bogus SSHJumpExecutor re-export that broke telegram AI import chain SSHJumpExecutor class never existed in auto_heal_service.py. The dead import caused ImportError blocking telegram_ai_integration from loading, which broke all natural language conversation in the bot. Co-Authored-By: Claude Sonnet 4.6 --- services/openclaw_strategist_service.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/openclaw_strategist_service.py b/services/openclaw_strategist_service.py index a3e197e..c59d9d5 100644 --- a/services/openclaw_strategist_service.py +++ b/services/openclaw_strategist_service.py @@ -30,9 +30,6 @@ from typing import Any, Dict, List, Optional from database.manager import get_session from sqlalchemy import text -# re-export:SSHJumpExecutor 維護於 auto_heal_service(向後相容) -from services.auto_heal_service import SSHJumpExecutor # noqa: F401 - logger = logging.getLogger(__name__) GEMINI_API_KEY = os.getenv("GEMINI_API_KEY", "") @@ -40,7 +37,6 @@ STRATEGY_MODEL = os.getenv("OPENCLAW_MODEL", "gemini-2.5-flash-preview-05-20") TAIPEI_TZ_OFFSET = 8 # UTC+8 __all__ = [ - "SSHJumpExecutor", "generate_daily_report", "generate_weekly_strategy_report", "generate_monthly_report",