Merge remote-tracking branch 'origin/dev' into feat/norms-and-goals-program

This commit is contained in:
Twirre Meulenbelt
2025-11-25 11:29:27 +01:00
10 changed files with 26 additions and 59 deletions

View File

@@ -45,7 +45,7 @@ class RobotSpeechAgent(BaseAgent):
self.subsocket.connect(settings.zmq_settings.internal_sub_address)
self.subsocket.setsockopt(zmq.SUBSCRIBE, b"command")
await self.add_behavior(self._zmq_command_loop())
self.add_behavior(self._zmq_command_loop())
self.logger.info("Finished setting up %s", self.name)

View File

@@ -37,7 +37,7 @@ class BDICoreAgent(BaseAgent):
await self._load_asl()
# Start the BDI cycle loop
await self.add_behavior(self._bdi_loop())
self.add_behavior(self._bdi_loop())
self._wake_bdi_loop.set()
self.logger.debug("Setup complete.")

View File

@@ -37,7 +37,7 @@ class RICommunicationAgent(BaseAgent):
if await self._negotiate_connection():
self.connected = True
await self.add_behavior(self._listen_loop())
self.add_behavior(self._listen_loop())
else:
self.logger.warning("Failed to negotiate connection during setup.")

View File

@@ -37,7 +37,7 @@ class TranscriptionAgent(BaseAgent):
self.speech_recognizer.load_model() # Warmup
# Start background loop
await self.add_behavior(self._transcribing_loop())
self.add_behavior(self._transcribing_loop())
self.logger.info("Finished setting up %s", self.name)

View File

@@ -93,7 +93,7 @@ class VADAgent(BaseAgent):
# Warmup/reset
await self.reset_stream()
await self.add_behavior(self._streaming_loop())
self.add_behavior(self._streaming_loop())
# Start agents dependent on the output audio fragments here
transcriber = TranscriptionAgent(audio_out_address)