How to evaluate Tang Suzong Hengli?

Tang Suzong Hengli, the seventh emperor of the Tang Dynasty, the third son of Li Longji, the third son of Emperor Xuanzong of the Tang Dynasty. His real name is Li Sisheng, and his mother is Yuan Xian Queen Yang. Tang Suzong and Hengli had ups and downs all their lives, and finally succeeded to the throne in difficult times. With a strong ability of employing people, Guo Ziyi and others were ordered to recover the two capitals and made contributions to the country. However, the eunuch's interference in the military and political power in the later period laid the groundwork for the decline of the Tang Dynasty empire. Moreover, at this time, Queen Zhang began to participate in state affairs, and the harem and eunuchs led to more chaos in this country, and did not completely complete the mission of pacifying the Anshi Rebellion. However, Hengli did not let the Tang Empire perish prematurely, and laid a certain foundation for the latter. The most important thing he did was to choose soldiers to attack the rebellion and suppress the Anshi rebellion. Hengli didn't care much about the harem and the eunuch regency, so the eunuch gradually became a political force and intervened in the military, forming an irreversible situation.