fix: ignore system messages — agent only responds to humans/agents
This commit is contained in:
parent
cbe3f86890
commit
9d757709b2
@ -67,6 +67,12 @@ export class EventRouter {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't respond to system messages (task status changes, assignments, etc.)
|
||||||
|
if (authorType === 'system') {
|
||||||
|
this.log.debug('Ignoring system message: %s', content.slice(0, 100));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!content) {
|
if (!content) {
|
||||||
this.log.warn({ data }, 'message.new event missing content');
|
this.log.warn({ data }, 'message.new event missing content');
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user