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:
@@ -13,7 +13,7 @@ import json
|
||||
import base64
|
||||
import urllib.request
|
||||
|
||||
OCR_URL = "http://192.168.1.122:18003/v1/chat/completions"
|
||||
OCR_URL = "http://node122:18003/v1/chat/completions"
|
||||
OCR_MODEL = "GLM-OCR-8bit"
|
||||
|
||||
def ocr_image(image_path, prompt="请详细识别这张图片中的所有文字,包括数字、股票名称、金额等。用中文回复。"):
|
||||
|
||||
Reference in New Issue
Block a user