





















@@ -56,13 +56,16 @@ describe("realtime voice agent consult tool", () => {
5656questionSourceLabel: "participant",
5757});
585859-expect(prompt).toContain(
60-"Live voice request from the participant during a private Google Meet",
59+expect(prompt).toBe(
60+[
61+"Live voice request from the participant during a private Google Meet.",
62+"Act as the configured OpenClaw agent on behalf of this user. Use available tools when the request asks you to do work.",
63+"When finished, return only the concise result the realtime voice agent should speak back.",
64+"Do not include markdown, tool logs, or private reasoning. Include citations only when the spoken answer needs them.",
65+"Recent voice transcript for context:\nParticipant: Can you check the repo?\nAgent: I'll verify.",
66+"User request:\nDo we support realtime tools?",
67+].join("\n\n"),
6168);
62-expect(prompt).toContain("Act as the configured OpenClaw agent on behalf of this user");
63-expect(prompt).toContain("Participant: Can you check the repo?");
64-expect(prompt).toContain("Agent: I'll verify.");
65-expect(prompt).toContain("User request:\nDo we support realtime tools?");
6669});
67706871it("filters reasoning and error payloads from visible consult output", () => {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。