docs: added docstrings to bdi_core and BeliefSetter behaviour

ref: N25B-197
This commit is contained in:
Storm
2025-10-21 12:33:47 +02:00
parent 31882f8d63
commit 4cf1e5aaf7
2 changed files with 8 additions and 2 deletions

View File

@@ -10,10 +10,13 @@ from control_backend.core.config import settings
class BeliefSetter(CyclicBehaviour):
"""
TODO: docs
This is the behaviour that the BDI agent runs.
This behaviour waits for incoming message and processes it based on sender.
Currently, t only waits for messages containing beliefs from Belief Collector and adds these to its KB.
"""
agent: BDIAgent
logger = logging.getLogger("BDI/Belief Setter")
async def run(self):
msg = await self.receive(timeout=0.1)
if msg: