Todo below:
|
# TODO: Send message to holon that agent has finished |
|
metadata = deepcopy( self.inform_msg_template ) |
|
metadata[ 'reply-with' ] = str( uuid4().hex ) |
|
metadata[ 'status' ] = 'finished' |
|
metadata[ 'error-message' ] = 'null' |
|
|
|
asyncio.ensure_future( self.schedule_message( self.holon, metadata=metadata ) ) |
The message that the agent is finished is sent but the responsible holon does not seem to receive the message in its FinishedAgents behaviour.