[moz] fix(§21): 第一轮背靠背一致性检查 GAP 修复(3项) #107

Merged
pangtong-fujunshi merged 4 commits from fix/21-consistency-gaps into main 2026-06-20 15:46:27 +00:00
Showing only changes of commit bae3244e24 - Show all commits
+2 -1
View File
@@ -87,7 +87,8 @@ def render_template(name: str, variables: Dict[str, str]) -> str:
def clear_cache() -> None:
"""清空模板缓存(用于测试或热更新)"""
_template_cache.clear()
_steps_cache.clear()
global _steps_cache
_steps_cache = None # 重置为 None,强制下次 reload
# ---------------------------------------------------------------------------