Skip to content

The agent that grows with you

test(desktop/bots): drop unused prompt params in empty-sentinel harness (lint)

Tekniumdcabb39ab0b3
diff --git a/apps/desktop/src/plugins/hermes-bots/tests/group-chat-empty-sentinel.test.mjs b/apps/desktop/src/plugins/hermes-bots/tests/group-chat-empty-sentinel.test.mjs
index 901f20421c3..80dcdfa67ab 100644
--- a/apps/desktop/src/plugins/hermes-bots/tests/group-chat-empty-sentinel.test.mjs
+++ b/apps/desktop/src/plugins/hermes-bots/tests/group-chat-empty-sentinel.test.mjs
@@ -213,7 +213,7 @@ async function drain(gc, group) {
}
test('(empty) sentinel: a "(empty)" member reply is converted like the gateway, never appended raw', async () => {
- const gc = load((profile, prompt) => {
+ const gc = load(profile => {
if (profile === 'research') return '(empty)'
return '(pass)'
})
@@ -228,7 +228,7 @@ test('(empty) sentinel: a "(empty)" member reply is converted like the gateway,
})
test('(empty) sentinel: normal replies are untouched', async () => {
- const gc = load((profile, prompt) => {
+ const gc = load(profile => {
if (profile === 'research') return 'I am not empty.'
return '(pass)'
})