feat: phase transition waits for all goals
ref: N25B-429
This commit is contained in:
@@ -172,8 +172,9 @@ class AgentSpeakGenerator:
|
||||
)
|
||||
|
||||
context = [from_phase_ast]
|
||||
if from_phase and from_phase.goals:
|
||||
context.append(self._astify(from_phase.goals[-1], achieved=True))
|
||||
if from_phase:
|
||||
for goal in from_phase.goals:
|
||||
context.append(self._astify(goal, achieved=True))
|
||||
|
||||
body = [
|
||||
AstStatement(StatementType.REMOVE_BELIEF, from_phase_ast),
|
||||
|
||||
Reference in New Issue
Block a user