fix: remove model route remnants from review history
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s
This commit is contained in:
@@ -402,7 +402,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '')
|
||||
# ==========================================
|
||||
# 系統版本與路徑
|
||||
# ==========================================
|
||||
SYSTEM_VERSION = "V10.680"
|
||||
SYSTEM_VERSION = "V10.681"
|
||||
LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log')
|
||||
public_url = PUBLIC_URL # 用於模板顯示
|
||||
|
||||
|
||||
@@ -757,3 +757,4 @@ POSTGRES_HOST=momo-db
|
||||
| 2026-06-25 | 匯入任務公開摘要不得回傳資料表或本機檔案定位 | V10.678 起 `/api/import_jobs` / `/api/import_job/<id>` 的 `import_summary` 只回傳營運摘要、日期範圍、匯入筆數與同步狀態,不再外露 `table_name`、`synced_to`、`daily_sales_snapshot`、`realtime_sales_monthly`、Google Drive file id 或本機暫存路徑。 |
|
||||
| 2026-06-25 | 部署後 Code Review 不得把模型 timeout 寫成部署錯誤 | V10.679 起本地掃描可收斂的 Code Review 報告不再顯示「最後錯誤 / all hosts failed / OpenClaw timeout」等模型內部訊息;歷史 API 讀舊紀錄時也即時轉為「AI 延伸分析暫時略過,已以本地掃描完成部署後檢查」。 |
|
||||
| 2026-06-25 | Code Review 歷史理由不得外露模型路由 | V10.680 起 Code Review history 的 `ea_decision.reasoning` 與舊報告讀取層會把 OpenClaw、GCP-A/GCP-B、111 重分析、fallback 等內部模型路由轉成「AI 延伸分析暫時不可用時,維持本地掃描收斂」。 |
|
||||
| 2026-06-25 | 舊 Code Review 報告需廣義清除模型路由殘留 | V10.681 起舊 `openclaw_report` 讀取層用廣義規則移除 GCP-A/GCP-B、111 與 fallback 相關整段文字,避免歷史報告仍殘留內部模型拓撲。 |
|
||||
|
||||
@@ -135,7 +135,7 @@ def _public_openclaw_report(report: Any) -> str:
|
||||
return ""
|
||||
text = _OPENCLAW_RAW_ERROR_RE.sub(";AI 延伸分析暫時略過,已以本地掃描完成部署後檢查", text)
|
||||
text = re.sub(
|
||||
r"GCP-A/GCP-B\s+AI 架構檢查\s+不可用時暫停 111 重分析,避免拖高 fallback 主機負載。",
|
||||
r"GCP-A/GCP-B[^。]*(?:fallback|備援)[^。]*。",
|
||||
"AI 延伸分析不可用時,以本地掃描收斂,避免拖高模型主機負載。",
|
||||
text,
|
||||
)
|
||||
@@ -153,7 +153,7 @@ def _public_ea_decision(ea: Any) -> Dict[str, Any]:
|
||||
reasoning = str(public.get("reasoning") or "")
|
||||
if reasoning:
|
||||
reasoning = re.sub(
|
||||
r"但需優化架構以暫停 GCP-A/GCP-B OpenClaw 不可用時的 111 重分析,避免增加 fallback 主機負載。",
|
||||
r"但需優化架構以暫停 GCP-A/GCP-B[^。]*(?:fallback|備援)[^。]*。",
|
||||
"AI 延伸分析暫時不可用時,維持本地掃描收斂,避免影響正式服務。",
|
||||
reasoning,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user