fix: update ollama primary host
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
OoO
2026-06-18 14:24:55 +08:00
parent 37f1802274
commit ba5fe06b13
25 changed files with 530 additions and 56 deletions

View File

@@ -283,7 +283,7 @@ GRIST_URL = os.getenv('GRIST_URL', '') # Grist 資料協作連結
# ==========================================
_APPROVED_OLLAMA_HOST_SUBSTRINGS = (
'34.143.170.20:11434',
'34.87.90.216:11434',
'34.21.145.224:11434',
'192.168.0.111:11434',
'192.168.0.110:11435',
@@ -301,7 +301,7 @@ def _static_approved_ollama_env(name: str, default: str = '') -> str:
_STATIC_OLLAMA_PRIMARY = _static_approved_ollama_env(
'OLLAMA_HOST_PRIMARY',
'http://34.143.170.20:11434',
'http://34.87.90.216:11434',
)
# Hermes AI Service (競價情報分析)
@@ -402,7 +402,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '')
# ==========================================
# 系統版本與路徑
# ==========================================
SYSTEM_VERSION = "V10.628"
SYSTEM_VERSION = "V10.629"
LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log')
public_url = PUBLIC_URL # 用於模板顯示