fix: remove model route remnants from review history
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s

This commit is contained in:
ogt
2026-06-25 14:54:52 +08:00
parent ede129d6e1
commit bbf6a97d77
3 changed files with 4 additions and 3 deletions

View File

@@ -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,
)