I have generally had no issues with companions pathfinding around hazards. It did work well in DOS:2, so they should be able to work out any bugs people are having.