I am attempting to record the agent exit tick as shown here. But, this event never gets recorded in the agent log because the agent is taken out of the context and hence its attributes are no longer recorded. Any thoughts on how I can get this to work?
https://github.com/khanna-lab/cadre/blob/006004000134850e7f8864740a65735c7884a7e4/python/pycadre/cadre_model.py#L214-L222
I am attempting to record the agent exit tick as shown here. But, this event never gets recorded in the agent log because the agent is taken out of the context and hence its attributes are no longer recorded. Any thoughts on how I can get this to work?