fix: achieved goal in bdi core

ref: N25B-400
This commit is contained in:
2026-01-13 12:26:18 +01:00
parent 65e0b2d250
commit f87651f691
4 changed files with 4 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ class UserInterruptAgent(BaseAgent):
Prioritized actions clear the current RI queue before inserting the new item,
ensuring they are executed immediately after Pepper's current action has been fulfilled.
:ivar sub_socket: The ZMQ SUB socket used to receive user intterupts.
:ivar sub_socket: The ZMQ SUB socket used to receive user interrupts.
"""
def __init__(self, **kwargs):
@@ -135,8 +135,6 @@ class UserInterruptAgent(BaseAgent):
await self.send(goal_achieve_msg)
else:
self.logger.warning("Could not determine which element to override.")
self.logger.warning(self._goal_map)
self.loger.warning(ui_id)
elif event_type == "pause":
self.logger.debug(
@@ -317,11 +315,10 @@ class UserInterruptAgent(BaseAgent):
belief_message = BeliefMessage(create=[belief])
msg = InternalMessage(
to=settings.agent_settings.bdi_core_name,
thread="belief_update",
thread="beliefs",
body=belief_message.model_dump_json(),
)
await self.send(msg)
self.logger.info(f"Sent belief to BDI Core: {msg}")
async def _send_experiment_control_to_bdi_core(self, type):
"""