If during 2018 I was on O-1 visa working under OPT, what is my resident status?

This was part of my school's program for intl. students. It started in 2017, during that time I had my taxes filed via the school