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

@@ -85,7 +85,7 @@ class BDIProgramManager(BaseAgent):
await self._transition_phase(phases["old"], phases["new"])
case "achieve_goal":
goal_id = msg.body
self._send_achieved_goal_to_semantic_belief_extractor(goal_id)
await self._send_achieved_goal_to_semantic_belief_extractor(goal_id)
async def _transition_phase(self, old: str, new: str):
if old != str(self._phase.id):