We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9160990 commit 17cf140Copy full SHA for 17cf140
1 file changed
extensions/qqbot/src/channel.message-adapter.test.ts
@@ -7,7 +7,9 @@ describe("qqbot outbound sanitizeText", () => {
7
it("strips reasoning/thinking tags before delivery", () => {
8
const sanitize = qqbotPlugin.outbound?.sanitizeText;
9
expect(sanitize).toBeDefined();
10
- if (!sanitize) return;
+ if (!sanitize) {
11
+ return;
12
+ }
13
14
const input1 = "<thinking>internal reasoning</thinking>final answer";
15
expect(sanitize({ text: input1, payload: { text: input1 } })).toBe("final answer");
0 commit comments