chore: add styles to user_interrupt_agent
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user