mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
docs(heartbeat): add directPolicy to config examples
This commit is contained in:
@@ -273,6 +273,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
|
|||||||
every: "30m",
|
every: "30m",
|
||||||
model: "anthropic/claude-sonnet-4-5",
|
model: "anthropic/claude-sonnet-4-5",
|
||||||
target: "last",
|
target: "last",
|
||||||
|
directPolicy: "allow", // allow (default) | block
|
||||||
to: "+15555550123",
|
to: "+15555550123",
|
||||||
prompt: "HEARTBEAT",
|
prompt: "HEARTBEAT",
|
||||||
ackMaxChars: 300,
|
ackMaxChars: 300,
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ Example config:
|
|||||||
heartbeat: {
|
heartbeat: {
|
||||||
every: "30m",
|
every: "30m",
|
||||||
target: "last", // explicit delivery to last contact (default is "none")
|
target: "last", // explicit delivery to last contact (default is "none")
|
||||||
|
directPolicy: "allow", // default: allow direct/DM targets; set "block" to suppress
|
||||||
// activeHours: { start: "08:00", end: "24:00" },
|
// activeHours: { start: "08:00", end: "24:00" },
|
||||||
// includeReasoning: true, // optional: send separate `Reasoning:` message too
|
// includeReasoning: true, // optional: send separate `Reasoning:` message too
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user