Check al the air hoses. There is a vacuum line sizzed hose from the inlet to the ECU (at least on a T16) that easily perishes.
It could be the start of ECU failure , mine would idle fine, not at all or at 5,000 rpm.