fix(qa): use supported telegram streaming config in rtt · openclaw/openclaw@3a58621
vincentkoc
·
2026-05-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -89,7 +89,7 @@ config.channels.telegram = {
|
89 | 89 | provider: "default", |
90 | 90 | id: "TELEGRAM_BOT_TOKEN", |
91 | 91 | }, |
92 | | -streaming: false, |
| 92 | +streaming: { mode: "off" }, |
93 | 93 | dmPolicy: "allowlist", |
94 | 94 | allowFrom: [driverId], |
95 | 95 | defaultTo: driverId, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -176,7 +176,7 @@ describe("RTT harness", () => {
|
176 | 176 | ]); |
177 | 177 | |
178 | 178 | const config = JSON.parse(await fs.readFile(configPath, "utf8")); |
179 | | -expect(config.channels.telegram.streaming).toBe(false); |
| 179 | +expect(config.channels.telegram.streaming).toEqual({ mode: "off" }); |
180 | 180 | expect(config.messages.groupChat.visibleReplies).toBe("automatic"); |
181 | 181 | }); |
182 | 182 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。