Skip to content

[Bug] heartbeat.model configuration not working in v2026.3.11 #45422

@alpha-evolver

Description

@alpha-evolver

Bug type

Configuration bug

Summary

The agents.defaults.heartbeat.model configuration is not being applied. Heartbeat runs continue to use the main session model instead of the configured heartbeat model.

Steps to reproduce

  1. Configure agents.defaults.heartbeat.model in openclaw.json
  2. Ensure the model is available in the model provider
  3. Wait for heartbeat to trigger
  4. Check logs - it shows the main session model instead of configured model

Expected behavior

Heartbeat should use the model specified in agents.defaults.heartbeat.model

Actual behavior

Heartbeat always uses the main session model

OpenClaw version

v2026.3.11

Logs

[heartbeat] started
[gateway] agent model: minimax-cn/MiniMax-M2.5-highspeed

Additional information

  • Model provider (ollama) is working correctly
  • Direct API calls to the heartbeat model work fine
  • Only heartbeat is not using the configured model

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions