I know the long term answer is better AI but as a workaround, a simple tag that tells the AI not to build a unit in the XML. This would help with special units that only a Human player would know how to use, such as a reconnaissance drone which is cheap but unarmed.
Or a setting giving the maximum quantity the AI can have live or queued at any one time, but this must be much more complex.
Should say that I don't view this as an urgent change, just listing requests for discussion and logging.
If there is already a tag that limits number of units allowed I could just use that. I think there is?
Edit by Omega: Merged posts, less than 3 hours apart.