Can I turn off the generative replies for AI agents using JavaScript?

Question

Is it possible to disable the generative replies for AI agents using JavaScript?

Answer

No, you can only turn off generative replies in the Admin Center. This setting it will be disabled for both agents and end users. For more information, see this article: Turning on the enhance writing generative AI feature.