Hello. I am working on an app that has a single .html file currently with 38,565 lines of code. Around 25,000 lines of code gemini started to fail to properly fully write code — it would make the correct changes but always wants to write out thousands of lines of code and fails to do so since it’s too much for it (I thought Gemini was supposed to only work on the parts of code specific to the prompt and not write out the entire html file?). I have to click the View Changes button every time to see what it did and then copy and paste the code of the app I have stored in Notepad++ that it couldn’t write out into the Code tab in AI studio to make any progress on my app.
Now that I am at 38,565 lines of code, which is around 700,000 tokens, it simply fails to successfully produce any code changes when it is done, even though behind the scenes it is doing something, but always fails when it finishes. However, in the Playground website for AI Studio, it can still generate code, just not in the sandboxed version.