I had Gemini correct my code using Google's new LLM API to use the old one.