I agree with this, I think the traits of an npc should influence their AI in some way.
It might be a bit much to ask but I also think their traits should be able to change just like the player via their actions. Sending companions on quests, for example, would be a way to mold them a certain way.