fix: force message tool for source delivery mode · openclaw/openclaw@8650f4b
steipete
·
2026-05-15
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -930,6 +930,15 @@ describe("createOpenClawCodingTools", () => {
|
930 | 930 | expect(toolNameList(cronTools)).toContain("message"); |
931 | 931 | }); |
932 | 932 | |
| 933 | +it("keeps message available for message-tool-only source replies under the coding profile", () => { |
| 934 | +const tools = createOpenClawCodingTools({ |
| 935 | +config: { tools: { profile: "coding" } }, |
| 936 | +sourceReplyDeliveryMode: "message_tool_only", |
| 937 | +}); |
| 938 | + |
| 939 | +expect(toolNameList(tools)).toContain("message"); |
| 940 | +}); |
| 941 | + |
933 | 942 | it("keeps heartbeat response available for heartbeat runs under the coding profile", () => { |
934 | 943 | const codingTools = createOpenClawCodingTools({ |
935 | 944 | config: { tools: { profile: "coding" } }, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。