fix: replace hardcoded 192.168.1.122 with node122 (hostname resolves via /etc/hosts to LAN or EasyTier)

- mo_config.py: xiaoguo_host=node122, xiaoguo_api_url property
- market_screener.py, xiaoguo_scanner.py, xiaoguo_news_processor.py: use mo_config or node122 fallback
- scripts/intraday_health_check.py, scripts/ocr_client.py: node122
- EasyTier connects at 10.144.144.2 when off-LAN
This commit is contained in:
hmo
2026-06-30 02:27:52 +08:00
parent efaa20d775
commit f4b2467ae9
7 changed files with 39 additions and 8 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ def check_xiaoguo():
# 可能是小果离线了,不报严重,记录即可
return
# API — 不通时scanner已降级为unknown,不影响
check_http("http://192.168.1.122:18003/v1/models")
check_http("http://node122:18003/v1/models")
PORTFOLIO_PATH = str(DATA / "portfolio.json")