Has anyone seen any discussion on how companions behave in combat?

I haven’t seen anything so far and am a bit worried that they just follow you around like in previous fallout games…

I’m hoping that companion interactions are somewhat similar to how mass effect handles it: you can have them move to a specific spot and use particular abities. Any idea how it actually works?