AC prime does not have a setting for this unfortunately, and as the AI is pretty limited anyway (race strategy? What’s that?) the best you can do is set the fuel consumption rate or tire wear rate really high to force pit stops. (Though I remember reading somewhere that AI won’t pit for Tires, or something? Not sure)