mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:40:43 +00:00
test(message): cover reasoning-only sanitization
This commit is contained in:
@@ -1114,6 +1114,13 @@ describe("message tool reasoning tag sanitization", () => {
|
||||
target: "telegram:123",
|
||||
channel: "telegram",
|
||||
},
|
||||
{
|
||||
field: "message",
|
||||
input: "Reasoning:\n_internal plan_\n_more internal notes_",
|
||||
expected: "",
|
||||
target: "telegram:123",
|
||||
channel: "telegram",
|
||||
},
|
||||
])(
|
||||
"sanitizes reasoning tags in $field before sending",
|
||||
async ({ channel, target, field, input, expected }) => {
|
||||
|
||||
Reference in New Issue
Block a user