fix: end phase loop correctly notifies about user_said
ref: N25B-429
This commit is contained in:
@@ -145,7 +145,10 @@ class AgentSpeakGenerator:
|
|||||||
type=TriggerType.ADDED_BELIEF,
|
type=TriggerType.ADDED_BELIEF,
|
||||||
trigger_literal=AstLiteral("user_said", [AstVar("Message")]),
|
trigger_literal=AstLiteral("user_said", [AstVar("Message")]),
|
||||||
context=[AstLiteral("phase", [AstString("end")])],
|
context=[AstLiteral("phase", [AstString("end")])],
|
||||||
body=[AstStatement(StatementType.ACHIEVE_GOAL, AstLiteral("reply"))],
|
body=[
|
||||||
|
AstStatement(StatementType.DO_ACTION, AstLiteral("notify_user_said")),
|
||||||
|
AstStatement(StatementType.ACHIEVE_GOAL, AstLiteral("reply")),
|
||||||
|
],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user