This has certainly been brought up before, but I always like to add in these conversations that modern trolleybusses with modest batteries can handle discontinuous electrification, with wires only strung for part of the route. This means (mostly) less infrastructure to maintain, less overhead wires, and a lot more ease in handling diversions/road work. And of course, Dayton, OH started doing the work of converting a legacy trolleybus system to one with in motion charging
over a decade ago. The last point being especially relevant to shame politicians and T leadership