fix: default behavior and end phase

ref: N25B-448
This commit is contained in:
2026-01-14 11:24:19 +01:00
parent 43ac8ad69f
commit ff24ab7a27
4 changed files with 52 additions and 18 deletions

View File

@@ -279,8 +279,10 @@ class BDIProgramManager(BaseAgent):
Initialize the agent.
Connects the internal ZMQ SUB socket and subscribes to the 'program' topic.
Starts the background behavior to receive programs.
Starts the background behavior to receive programs. Initializes a default program.
"""
await self._create_agentspeak_and_send_to_bdi(Program(phases=[]))
context = Context.instance()
self.sub_socket = context.socket(zmq.SUB)