feat: added face recognition and tests

ref: N25B-397
This commit is contained in:
JobvAlewijk
2026-01-30 15:59:27 +01:00
parent 0f964795f3
commit f89fb2266a
5 changed files with 228 additions and 24 deletions

View File

@@ -401,23 +401,25 @@ class UserInterruptAgent(BaseAgent):
to=[
settings.agent_settings.vad_name,
settings.agent_settings.visual_emotion_recognition_name,
settings.agent_settings.face_agent_name,
],
sender=self.name,
body="PAUSE",
)
await self.send(vad_message)
# Voice Activity Detection and Visual Emotion Recognition agents
self.logger.info("Sent pause command to VAD and VED agents.")
self.logger.info("Sent pause command to perception agents.")
else:
# Send resume to VAD and VED agents
vad_message = InternalMessage(
to=[
settings.agent_settings.vad_name,
settings.agent_settings.visual_emotion_recognition_name,
settings.agent_settings.face_agent_name,
],
sender=self.name,
body="RESUME",
)
await self.send(vad_message)
# Voice Activity Detection and Visual Emotion Recognition agents
self.logger.info("Sent resume command to VAD and VED agents.")
self.logger.info("Sent resume command to perception agents.")