Hello Google AI Studio Support Team,
I need help diagnosing a persistent problem with one specific project in Google AI Studio Build Mode.
Model: Gemini 3.8 Flash
Project: MultiMulti, a Python application I have been developing in AI Studio.
What happened
I was working on my MultiMulti project when the model suddenly started returning this error:
“Your message exceeded the maximum number of tokens allowed.”
The error appeared even when I sent extremely short messages. The model stopped processing my requests, preventing me from continuing development.
I then opened a new chat to continue working on the same project. The model initially responded and confirmed that it could access the project files. However, after I attached six files from the project and requested only a simple verification of the data file, the same error appeared again. The failed runs showed “Ran for 0s”.
The files included:
-
wyniki.txt -
silnik_mapy.py -
wtf.py -
kronika_profili.py -
pobieracz.py -
dziennik.py
The data file is a historical archive of lottery draws. I was asking the model only to verify the file structure, not to run a large backtest or perform extensive analysis.
I also checked a separate project I had created for game development. The model indicated that I could continue working there without this problem at that time.
What I need help investigating
I would appreciate your help determining:
-
Is the error caused by accumulated conversation history or Build Mode agent context?
-
Can a context or resource limit persist at the project level even after opening a new chat?
-
Could uploading the same project files into a new chat trigger the same error because of retained project state or previous agent operations?
-
Is there a way to reset the relevant agent context or project state without deleting or losing my existing code?
-
Can you check the relevant logs and identify the actual reason the request is rejected?
I do not know whether this is a context-window issue, a project-specific problem, or a bug in AI Studio. I would prefer not to delete or recreate the project until I understand the cause.
I have screenshots showing the error, the affected project, and the failed requests. I can provide the project URL and approximate timestamps if needed.
Thank you for helping me diagnose this issue and recover the ability to work on my existing project.
