I also disagree about the stupid AI. AI is ok (at least most times). Enemies are just too weak. What shall they do if my characters are almost all immune to elemental damage and if I can freeze/stund/knock down them with ease? Even the best AI wouldn't solve or improve that if the player characters are just OP...
Enemies should have more spells, and overall be stronger, but their plain stupidity is imo biggest problem. They completely don't care about friendly fire, rush through the fire fields even if it's certain death, attack completely randomly, don't care about positioning, use same element on char multiple times even if it's healing instead of damaging him, cast buffs/heals without any sense etc. And ranged enemies try to stay away from you - even if it means suicide by your attack of opportunity, and when they could kill you with one shot
You could summarize whole AI by:
"Use dmg spell on random enemy, or cast buff/heal on random friend. If on cooldown, use melee on random enemy.
If ure ranged - stay away from enemy.
If ure low hp - drink a potion."