Skip to content

feat: add heartbeatProvider and heartbeatModel config options#50

Closed
simonsickle wants to merge 1 commit intoopenclaw:mainfrom
simonsickle:ssickle/heartbeat-model-override
Closed

feat: add heartbeatProvider and heartbeatModel config options#50
simonsickle wants to merge 1 commit intoopenclaw:mainfrom
simonsickle:ssickle/heartbeat-model-override

Conversation

@simonsickle
Copy link

Allow using a different (cheaper) model for periodic heartbeat runs. When configured, heartbeat runs will use heartbeatProvider/heartbeatModel instead of the main provider/model, enabling cost optimization (e.g., using Haiku for heartbeats while keeping Opus for conversations).

Example config:

  "agent": {
    "provider": "anthropic",
    "model": "claude-opus-4-5",
    "heartbeatProvider": "anthropic",
    "heartbeatModel": "claude-haiku-4-5-20251001",
    "heartbeatMinutes": 5
  }

Allow using a different (cheaper) model for periodic heartbeat runs.
When configured, heartbeat runs will use heartbeatProvider/heartbeatModel
instead of the main provider/model, enabling cost optimization
(e.g., using Haiku for heartbeats while keeping Opus for conversations).

Example config:
  "agent": {
    "provider": "anthropic",
    "model": "claude-opus-4-5",
    "heartbeatProvider": "anthropic",
    "heartbeatModel": "claude-3-5-haiku-20241022",
    "heartbeatMinutes": 30
  }
@steipete
Copy link
Contributor

Thanks, will take over.

I'll group this more so it's

"heartbeat": {
"model": "anthropic/opus..."
"time": "60m" / (or similar, still iterating)
}

@steipete
Copy link
Contributor

Merged via 9f7b1f0 (agent.heartbeat config + model override).

@steipete steipete closed this Dec 26, 2025
@simonsickle simonsickle deleted the ssickle/heartbeat-model-override branch December 31, 2025 02:26
dgarson referenced this pull request in dgarson/clawdbot Feb 2, 2026
alexprime1889-prog pushed a commit to alexprime1889-prog/moltbot that referenced this pull request Feb 8, 2026
slathrop referenced this pull request in slathrop/openclaw-js Feb 11, 2026
Tasks completed: 2/2
- Port commit #50 (lore revert) and #53 (bird skill removal)
- Port commit #62 (Docker .mjs entrypoint support)

SUMMARY: .planning/phases/12-memory-qmd-hardening/12-03-SUMMARY.md
songliu0403-rgb pushed a commit to songliu0403-rgb/openclaw that referenced this pull request Feb 26, 2026
heatherstew44-maker pushed a commit to heatherstew44-maker/openclaw that referenced this pull request Mar 8, 2026
fix(utils): use virtual key codes for cross-layout paste
CoffeeNoir pushed a commit to CoffeeNoir/openclaw that referenced this pull request Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants