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
May 19, 2025, 7:06pm
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:
Good news for those who are having trouble with the input token count exceeding the limit!
I’ve found a temporary solution.
However, please note that this is not an official solution.
The error discussed in this article
[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 (1053137) exceeds the maximum number of tokens allowed (1048576).
[GoogleGenerati…
This is not working.
I have read and applied this too but it is not working for me.
Tom
May 19, 2025, 7:50pm
4
@ohakwe , have you implemented the following important step that I have just recently added and updated to my post?
hello there …
i found a solution for the issue above "
short lines:_
1/ open your terminal and navigate by running the command : ls -al ~/.idx/ai
2/you will list of the prototybes that demand your tokens
3/start deleting using the command : rm -rf (the directory you want to delete).
4/restart your VM by navigating to the studio .
and huurrrrry …
conclusion:
I advice you to search about the info you want to delete.