fix: remove bogus SSHJumpExecutor re-export that broke telegram AI import chain
All checks were successful
CD Pipeline / deploy (push) Successful in 1m43s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m43s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user