feat: added sending goal overwrites in Userinter.
ref: N25B-400
This commit is contained in:
@@ -118,6 +118,12 @@ class UserInterruptAgent(BaseAgent):
|
||||
"Forwarded button press (override) with context '%s' to BDIProgramManager.",
|
||||
event_context,
|
||||
)
|
||||
elif asl_goal := self._goal_map.get(ui_id):
|
||||
await self._send_to_bdi("complete_goal", asl_goal)
|
||||
self.logger.info(
|
||||
"Forwarded button press (override) with context '%s' to BDI Core.",
|
||||
event_context,
|
||||
)
|
||||
else:
|
||||
self.logger.warning("Could not determine which element to override.")
|
||||
elif event_type == "pause":
|
||||
|
||||
Reference in New Issue
Block a user