Skip to content

Commit 7bccf16

Browse files
fix(mattermost): align channel prompt test expectations
1 parent e15cecf commit 7bccf16

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/auto-reply/reply.triggers.group-intro-prompts.cases.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ export function registerGroupIntroPromptCases(): void {
9595
},
9696
expected: [
9797
"You are in a Mattermost channel.",
98-
"Your text replies are automatically sent to this channel. For ordinary text, do not use the message tool to send to this same destination; just reply normally. Use message(action=send) only when you need to send files, images, or other attachments to this same channel/thread.",
99-
groupParticipationNote,
98+
"Your text replies are automatically sent to this channel. For ordinary text, do not use the message tool to send to this same channel; just reply normally. Use message(action=send) only when you need to send files, images, or other attachments to this same channel/thread.",
99+
channelParticipationNote,
100100
groupSilentNote,
101101
groupSilentProseGuard,
102102
"Activation: trigger-only (you are invoked only when explicitly mentioned; recent context may be included). Address the specific sender noted in the message context.",
103103
],
104-
forbidden: ["Mattermost group chat"],
104+
forbidden: ["Mattermost group chat", "this group chat"],
105105
},
106106
{
107107
name: "whatsapp-always-on",

‎src/auto-reply/reply/groups.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ describe("group runtime loading", () => {
201201

202202
expect(context).toContain("You are in a Mattermost channel.");
203203
expect(context).toContain("Your text replies are automatically sent to this channel.");
204-
expect(context).toContain("do not use the message tool to send to this same destination");
204+
expect(context).toContain("do not use the message tool to send to this same channel");
205205
expect(context).toContain("attachments to this same channel/thread");
206206
expect(context).not.toContain("group chat");
207207
});

0 commit comments

Comments
 (0)