Character B's radar. Alternatively, Character A may perhaps assume of Character B as silly, and so makes the insult somewhat refined so that Character B will not likely get it and will end up wanting like a fool.
Dogbert the moment offers the title character this epic zing: Dogbert: I could never ever undervalue your intelligence.