The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(cron): read the cancel marker BOM-tolerantly
Teknium422fce2f52ab
diff --git a/cron/cancellation.py b/cron/cancellation.pyindex a15be3352e0..c0eeadf52f4 100644--- a/cron/cancellation.py+++ b/cron/cancellation.py@@ -134,7 +134,7 @@ class CancelRequest:def reason(self) -> str:if self._reason is None:with contextlib.suppress(ValueError, OSError):- recorded = _marker_path(self.execution_id).read_text(encoding="utf-8").strip()+ recorded = _marker_path(self.execution_id).read_text(encoding="utf-8-sig").strip()if recorded:self._reason = recordedself._reason = self._reason or _DEFAULT_REASON