That's interesting but raised the same question, why berate a machine? Either the agent is not a person, in which case, anything it does wrong is your fault. Or it is a person, it can be blamed for mistakes, but then we can't in good conscious use it as a tool.
Berating a real person is often unproductive too, but people do it to make themselves feel better.
One must imagine punching the wall feels good (in the moment)
Berating an LLM's response as a way to improve output has worked for at least some subset of LLMs and outputs. I have a coworker who told me that "hack" anyways.