You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5365ce
Browse filesBrowse the repository at this point in the historyBrowse files
- Do not ask `observe` for more than 60 seconds; loop up to eight 60-second calls.
24
+
- Do not put `chunkDelayMs` on a `/v1/responses` request with `body.stream === false`; that JSON branch bypasses `writeDefaultResponseEvents`, whose delay runs only before streamed `response.output_text.delta` events after the first.
25
+
- Do not use an unawaited Code Mode `setTimeout` to hold the turn; pending timers do not keep `exec` alive.
26
+
- Do not rely on timeout defaults; pin both keys to 600 through `start --config` (current main: 48-hour agent-run default, 120-second cloud-model idle default).
Proof facts: three ordered provider requests show the `exec` call, its follow-up, and the queued turn; the long response holds the active turn for about 333 seconds. Provider requests, `sendMessage` records, gateway log lines, and the focused second message show whether `MANTIS-SECOND-SURVIVED` arrived after the 300-second watchdog window.
Copy file name to clipboardExpand all lines: docs/gateway/config-agents.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -541,7 +541,7 @@ Periodic heartbeat runs.
541
541
defaults: {
542
542
heartbeat: {
543
543
agentId:"ops", // ambient owner when no per-agent heartbeat is configured
544
-
every:"30m", // 0m disables
544
+
every:"30m", // 0m disables recurring cadence
545
545
activeHours: { start:"08:00", end:"24:00" },
546
546
model:"openai/gpt-5.4-mini",
547
547
session:"main",
@@ -559,7 +559,7 @@ Periodic heartbeat runs.
559
559
}
560
560
```
561
561
562
-
-`every`: duration string (ms/s/m/h). Default: `30m` (API-key auth) or `1h` (OAuth auth). Set to `0m` to disable.
562
+
-`every`: duration string (ms/s/m/h). Default: `30m` (API-key auth) or `1h` (OAuth auth). Set to `0m` to disable recurring cadence. Targeted event-driven wakes, including background exec completion follow-ups, can still run one agent turn.
563
563
-`agentId`: explicit owner for ambient heartbeat runs when no `agents.entries.*.heartbeat` block exists. A shared heartbeat block without `agentId` keeps the existing all-agent enrollment behavior.
564
564
- Cadence is written into a system-owned cron monitor row. Run `openclaw doctor --fix` to materialize a missing or stale row. If cron is disabled, scheduled heartbeats do not run and the gateway logs a startup warning.
565
565
- The heartbeat object is strict. Its supported fields are `agentId`, `every`, `activeHours`, `model`, `session`, `target`, `directPolicy`, `to`, `accountId`, `prompt`, `timeoutSeconds`, `lightContext`, and `isolatedSession`.
Copy file name to clipboardExpand all lines: docs/gateway/configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -397,7 +397,7 @@ candidate contains a redacted secret placeholder such as `***` or `[redacted]`.
397
397
}
398
398
```
399
399
400
-
- `every`: duration string (`30m`, `2h`). Set `0m` to disable. Default: `30m`.
400
+
- `every`: duration string (`30m`, `2h`). Set `0m` to disable recurring cadence; targeted event-driven wakes can still run one agent turn. Default: `30m`.
0 commit comments