#Correct config format for heartbeat interval and per-channel model overrides?
1 messages Β· Page 1 of 1 (latest)
Yep β both errors are expected from schema validation.
1) Heartbeat interval (correct format)
agents.defaults.heartbeat must be an object, and the interval key is every:
{
agents: {
defaults: {
heartbeat: {
every: "2h", // use "0m" to disable
},
},
},
}
channels.defaults.heartbeat is only for visibility formatting (showOk, showAlerts, useIndicator) β it does not control schedule/cadence.
2) Per-Discord-channel model override (correct approach)
Use channels.modelByChannel, not agents.overrides:
{
agents: {
defaults: {
model: { primary: "anthropic/claude-sonnet-4-6" },
},
},
channels: {
modelByChannel: {
discord: {
"123456789012345678": "anthropic/claude-opus-4-6",
"234567890123456789": "anthropic/claude-opus-4-6",
},
},
},
}
Notes:
- This applies when the session doesnβt already have a manual
/modeloverride. - If you need full behavior separation (different prompts/tools/workspaces too), use
agents.list+bindingsinstead.
Docs: