chore: adjust message/command structure and write unit tests
ref: N25B-205
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user