mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:20:43 +00:00
refactor(channels): add shared turn kernel
This commit is contained in:
@@ -290,6 +290,13 @@ describe("dispatchTelegramMessage draft streaming", () => {
|
||||
reactionApi: null,
|
||||
removeAckAfterReply: false,
|
||||
} as unknown as TelegramMessageContext;
|
||||
base.turn = {
|
||||
storePath: "/tmp/openclaw/telegram-sessions.json",
|
||||
recordInboundSession: vi.fn(async () => undefined),
|
||||
record: {
|
||||
onRecordError: vi.fn(),
|
||||
},
|
||||
} as unknown as TelegramMessageContext["turn"];
|
||||
|
||||
return {
|
||||
...base,
|
||||
|
||||
Reference in New Issue
Block a user