From what I could find on the JetBrains website, you can disable it by including an empty file named .noai in IntelliJ.
This worked for me, so it should hopefully work for you as well.