I have done this quest. I have soloed this quest while my weak group mates stayed back soaking the XP. I know first hand how easy it is to cheese the AI here. Comparing a beholder to a troll or wererat is pretty much the reasoning behind my suggestion. They are literally top end dangerous foes in the D&D realms.