test(agents): mark runtime contract delivery as sent · openclaw/openclaw@50dbd46
vincentkoc
·
2026-06-16
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -234,7 +234,7 @@ describe("OpenClaw-owned tool runtime contract - embedded agent adapter", () =>
|
234 | 234 | |
235 | 235 | it("commits successful embedded agent messaging text, media, and target telemetry", async () => { |
236 | 236 | const hooks = installOpenClawOwnedToolHooks(); |
237 | | -const execute = vi.fn(async () => textToolResult("sent")); |
| 237 | +const execute = vi.fn(async () => textToolResult("sent", { deliveryStatus: "sent" })); |
238 | 238 | const tool = wrapToolWithBeforeToolCallHook(createContractTool("message", execute), { |
239 | 239 | agentId: "agent-1", |
240 | 240 | sessionId: "session-1", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。