#What’s the proper way to disable heartbeat?
1 messages · Page 1 of 1 (latest)
This is a config issue, not a code issue. The user set commands.restart: false thinking it disables heartbeats, but that's wrong — it just prevents restart-on-heartbeat-failure.
To actually disable heartbeat messages, you need to set the heartbeat interval to 0 or a very long duration:
In ~/.clawdbot/clawdbot.json:
{
"agents.defaults.heartbeat": {
"every": "0", // or "100y" - disables the recurring message
"target": "last",
"ackMaxChars": 300
}
}
Then apply with: