AILab-FOI/APi

Holon doesn't receive message

Closed this issue · 0 comments

Todo below:

APi/baseagent.py

Lines 1093 to 1099 in 3b23905

# 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.