generic_agent: skip duplicate inputs, they need only be loaded once