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 6d04fe5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/agents/embedded-agent-subscribe.subscribe-embedded-agent-session.subscribeembeddedagentsession.test.ts
"Record heartbeat result. `notify=false` no visible send. `notify=true` needs concise notificationText. Scratch is monitor prose only; manage recurring tasks with cron.",
59
+
"Accept heartbeat result for post-turn handling. `notify=false` no visible send. `notify=true` needs concise notificationText. Scratch is monitor prose only; manage recurring tasks with cron.",
60
60
parameters: HeartbeatResponseToolSchema,
61
61
execute: async(_toolCallId,args)=>{
62
62
if(!isRecord(args)){
@@ -79,12 +79,12 @@ export function createHeartbeatResponseTool(): AnyAgentTool {
79
79
if(recorded){
80
80
// One heartbeat turn should produce one decision; repeated calls can
81
81
// otherwise overwrite the notify/no-notify choice.
82
-
thrownewToolInputError("heartbeat_respond already recorded for this turn");
82
+
thrownewToolInputError("heartbeat_respond already accepted for this turn");
Copy file name to clipboardExpand all lines: test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.heartbeat-turn.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
"name": "openclaw_direct",
7
7
"tools": [
8
8
{
9
-
"description": "Record heartbeat result. `notify=false` no visible send. `notify=true` needs concise notificationText. Scratch is monitor prose only; manage recurring tasks with cron.",
9
+
"description": "Accept heartbeat result for post-turn handling. `notify=false` no visible send. `notify=true` needs concise notificationText. Scratch is monitor prose only; manage recurring tasks with cron.",
Copy file name to clipboardExpand all lines: test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-heartbeat-codex-tool.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,8 +222,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
222
222
"roughTokens": 0
223
223
},
224
224
"dynamicToolsJson": {
225
-
"chars": 54227,
226
-
"roughTokens": 13557
225
+
"chars": 54250,
226
+
"roughTokens": 13563
227
227
},
228
228
"openClawDeveloperInstructions": {
229
229
"chars": 3370,
@@ -234,8 +234,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
234
234
"roughTokens": 6950
235
235
},
236
236
"totalWithDynamicToolsJson": {
237
-
"chars": 82027,
238
-
"roughTokens": 20507
237
+
"chars": 82050,
238
+
"roughTokens": 20513
239
239
},
240
240
"userInputText": {
241
241
"chars": 1271,
@@ -690,7 +690,7 @@ Full tool overrides: `codex-dynamic-tools.heartbeat-turn.json` (base: `codex-dyn
690
690
"type": "function"
691
691
},
692
692
{
693
-
"description": "Record heartbeat result. `notify=false` no visible send. `notify=true` needs concise notificationText. Scratch is monitor prose only; manage recurring tasks with cron.",
693
+
"description": "Accept heartbeat result for post-turn handling. `notify=false` no visible send. `notify=true` needs concise notificationText. Scratch is monitor prose only; manage recurring tasks with cron.",
0 commit comments