heartbeat.model 覆盖生效,心跳任务可独立于会话模型
修复后心跳轮询可遵循 heartbeat.model 配置,而非误用会话模型;适合做‘低成本巡检 + 主会话高质量回复’的模型分层。
GITHUBDiscovered 2026-02-12Author shtse8
Prerequisites
- Heartbeat polling is enabled and you maintain HEARTBEAT.md tasks.
- You can modify runtime model config and observe heartbeat execution logs.
Steps
- Set a dedicated lightweight model under heartbeat.model while keeping session default unchanged.
- Trigger a heartbeat cycle with deterministic checklist tasks.
- Inspect execution logs or status card to confirm heartbeat turn uses configured override model.
- Compare cost/latency before and after model split for at least one business day.
- Keep escalation rules so urgent heartbeat findings can still hand off to stronger model paths.
Commands
openclaw gateway statusopenclaw helpopenclaw gateway restartVerify
Heartbeat tasks consistently run on the override model, while interactive sessions remain on their own defaults.
Caveats
- Model override behavior can differ across custom wrappers or legacy configs(需验证).
- Do not route safety-critical decisions exclusively through smallest models.
Source attribution
This tip is aggregated from community/public sources and preserved with attribution.
Open original source ↗