refactor: rename all agents and improve structure pt1

ref: N25B-257
This commit is contained in:
Björn Otgaar
2025-11-12 11:04:49 +01:00
parent 781a05328f
commit 0e45383027
37 changed files with 199 additions and 201 deletions

View File

@@ -7,11 +7,11 @@ from spade.message import Message
from control_backend.core.config import settings
class BeliefTextAgent(Agent):
class BelTextAgent(Agent):
class SendOnceBehaviourBlfText(OneShotBehaviour):
async def run(self):
to_jid = (
settings.agent_settings.belief_collector_agent_name
settings.agent_settings.bel_collector_agent_name
+ "@"
+ settings.agent_settings.host
)
@@ -39,6 +39,6 @@ class BeliefTextAgent(Agent):
await self.agent.stop()
async def setup(self):
print("BeliefTextAgent started")
print("BelTextAgent started")
self.b = self.SendOnceBehaviourBlfText()
self.add_behaviour(self.b)