mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-02 04:41:11 +00:00
Gateway chat tests: assert explicit deliver route context tagging
This commit is contained in:
@@ -393,6 +393,7 @@ describe("chat directive tag stripping for non-streaming final payloads", () =>
|
||||
expect.objectContaining({
|
||||
OriginatingChannel: "telegram",
|
||||
OriginatingTo: "telegram:6812765697",
|
||||
ExplicitDeliverRoute: true,
|
||||
AccountId: "default",
|
||||
MessageThreadId: 42,
|
||||
}),
|
||||
@@ -566,6 +567,7 @@ describe("chat directive tag stripping for non-streaming final payloads", () =>
|
||||
expect.objectContaining({
|
||||
OriginatingChannel: "webchat",
|
||||
OriginatingTo: undefined,
|
||||
ExplicitDeliverRoute: false,
|
||||
AccountId: undefined,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user