/Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Agents/MLAdapterAgentElement.h
The pawn associated with the owning agent. If owning agent's avatar is a pawn then that gets retrieved, if not the function will check if it's a controller and if so retrieve its pawn.
[APawn](API\Runtime\Engine\GameFramework\APawn) * GetPawnAvatar() const