chore: add styles to user_interrupt_agent

This commit is contained in:
Björn Otgaar
2026-01-07 14:45:42 +01:00
parent 07d70cb781
commit 324a63e5cc

View File

@@ -71,6 +71,16 @@ class UserInterruptAgent(BaseAgent):
"Forwarded button press (override) with context '%s' to BDIProgramManager.",
event_context,
)
elif event_type == "next_phase":
_ = 1
elif event_type == "reset_phase":
_ = 1
elif event_type == " reset_experiment":
_ = 1
else:
self.logger.warning(
"Received button press with unknown type '%s' (context: '%s').",
@@ -78,6 +88,15 @@ class UserInterruptAgent(BaseAgent):
event_context,
)
async def _send_experiment_control_to_bdi_core(self, type):
out_msg = InternalMessage(
to=settings.agent_settings.bdi_core_name,
sender=self.name,
thread=type,
body="",
)
await self.send(out_msg)
async def _send_to_speech_agent(self, text_to_say: str):
"""
method to send prioritized speech command to RobotSpeechAgent.