Since 7 days now, i can’t even use the prototype anymore.
I keep receiving this error:
[GoogleGenerativeAI Error]: Error fetching from https://monospace-pa.googleapis.com/v1/models/gemini-2.5-pro-preview-03-25:streamGenerateContent?alt=sse: [400 Bad Request] The input token count (1049722) exceeds the maximum number of tokens allowed (1048576).
I have even removed all the AI related models as i am not using any gemini AI for my project.
I have equally read all previous threads and it seems there is no solution to this.
What should i do?
Help me.
Tom
2
I have posted the cause of this error, which occurs when the number of input tokens exceeds the limit, and a tentative solution (unofficial).
Please take a look:
This is not working.
I have read and applied this too but it is not working for me.
Tom
4
@ohakwe, have you implemented the following important step that I have just recently added and updated to my post?