The Big One #43

Merged
k.marinus merged 93 commits from feat/reset-experiment-and-phase into dev 2026-01-26 19:20:45 +00:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 133019a928 - Show all commits

View File

@@ -221,6 +221,14 @@ class BDICoreAgent(BaseAgent):
agentspeak.runtime.Intention(),
)
# Check triggers
self.bdi_agent.call(
agentspeak.Trigger.addition,
agentspeak.GoalType.achievement,
agentspeak.Literal("check_triggers"),
agentspeak.runtime.Intention(),
)
self._wake_bdi_loop.set()
self.logger.debug(f"Added belief {self.format_belief_string(name, args)}")

View File

@@ -180,7 +180,6 @@ class Trigger(ProgramElement):
:ivar plan: The plan to execute.
"""
name: str = ""
condition: Belief
plan: Plan