chore: adjust message/command structure and write unit tests

ref: N25B-205
This commit is contained in:
Björn Otgaar
2025-10-23 12:54:53 +02:00
parent 530fc42c50
commit 1f8d769762
7 changed files with 90 additions and 12 deletions

View File

@@ -44,8 +44,7 @@ class RICommunicationAgent(Agent):
logger.info("No ping retrieved in 3 seconds, killing myself.")
self.kill()
# message = Message.model_validate(message)
logger.info("Received message \"%s\"", message)
logger.debug("Received message \"%s\"", message)
if "endpoint" not in message:
logger.error("No received endpoint in message, excepted ping endpoint.")
return