Gemini is the worst at this - its impossible to opt out if you use AI Studio.
I thought that if you used an api key data wasn't trained on in AI studio
I thought that if you used an api key data wasn't trained on in AI studio