fix(ai): 遷移 Ollama embedding 至 api embed
All checks were successful
CD Pipeline / deploy (push) Successful in 1m46s

This commit is contained in:
OoO
2026-04-30 10:24:15 +08:00
parent 7f695928c3
commit 72fa166729
11 changed files with 114 additions and 14 deletions

4
app.py
View File

@@ -95,8 +95,8 @@ except Exception as e:
sys_log.error(f"無法檢測磁碟空間: {e}")
# 🚩 系統版本定義 (備份與顯示用)
# 🚩 2026-04-30 V10.16: DatabaseManager PostgreSQL pool convergence
SYSTEM_VERSION = "V10.16"
# 🚩 2026-04-30 V10.17: Ollama embedding /api/embed hardening
SYSTEM_VERSION = "V10.17"
# ==========================================
# 🔒 SQL Injection 防護函數