In this case the prosecutor works for Cook County. I think that makes her an employee of the State of Illinois and responsible to the State A-G.
Illinois states attorney are elected at the county level. They are political animals. They do not report to the state AG.