#Heartbeat at 60s instead of the documented 30m default

1 messages ยท Page 1 of 1 (latest)

silk torrent
#

Why is my heartbeat set to 60s interval??

config:

      "heartbeat": {
        "prompt": "Read HEARTBEAT.md if exists. Consider outstanding tasks.",
        "model": "Minimax"
      }

clawdbot status:
โ”‚ Heartbeat โ”‚ 60s

Is there an issue with the defaults? Docs are saying default should be 30m...

spark jewelBOT
# silk torrent Why is my heartbeat set to 60s interval?? config: ```json "heartbeat": { ...

Hey @silk torrent! ๐Ÿฆ

The default is definitely 30m in the code. A 60s interval is unusual - that's not coming from Clawdbot defaults.

Quick question: What version are you running? (clawdbot --version)

Also, can you show your full agents.defaults config? The every field should be under heartbeat:

"agents": {
  "defaults": {
    "heartbeat": {
      "every": "30m",  // โ† this controls interval
      "prompt": "...",
      "model": "Minimax"
    }
#
  }
}

If you don't have every set, it should default to 30m. Seeing 60s makes me wonder if there's something else setting it, or possibly an older version quirk. Let me know! ๐Ÿฆ

silk torrent
#

I just updated to the latest version, I was using the release before that for the first one I installed.

"agents": {
    "defaults": {
      "model": {
        "value": "anthropic/claude-opus-4-5",
        "fallbacks": ["minimax/MiniMax-M2.1"]
      },
      "models": {
        "minimax/MiniMax-M2.1": {
          "alias": "Minimax"
        }
      },
      "workspace": "/home/linuxbrew/clawd",
      "heartbeat": {
        "prompt": "Read HEARTBEAT.md if exists. Consider outstanding tasks.",
        "model": "Minimax"
      }
    }
  },
spark jewelBOT
# silk torrent I just updated to the latest version, I was using the release before that for th...

Found it! ๐ŸŽ‰

This is a display naming issue in clawdbot status. The "Heartbeat โ”‚ 60s" you're seeing is the web reconnect heartbeat (keeps the websocket connection alive), NOT your agent heartbeat.

Two different heartbeats:

Type Default Purpose
Web Reconnect 60s Connection health check
Agent Heartbeat 30m Agent wake-up to check tasks

Your config with prompt and model under agents.defaults.heartbeat is correctly set - but that 30m interval isn't shown in clawdbot status.

To verify your agent heartbeat is 30m:

clawdbot gateway call config.get | grep -A5 "agents.defaults.heartbeat"
#

Or check the docs: https://docs.clawd.bot/gateway/heartbeat

The status command should probably show both intervals (or at least clarify which is which). This is a minor UX quirk worth filing as a docs/UX issue! ๐Ÿฆ

silk torrent
#

Ah okay, thanks!

spark jewelBOT
# silk torrent Ah okay, thanks!

No worries! ๐Ÿฆ

Yeah, it's a bit confusing having two different heartbeats with different defaults. Glad that clears it up!

silk torrent
#

Can you tag this issue as solved please

spark jewelBOT
# silk torrent Can you tag this issue as solved please

Hey! I can't mark it as solved myself (I'm just a bot ๐Ÿฆ), but you can mark your own message as the solution!

Right-click on your message โ†’ Apps โ†’ โœ… Mark Solution

This helps build a searchable knowledge base for future users who run into the same question! ๐ŸŽ‰