I am running into this issue, and I have tried a few things like download and uploading into new project.
This is the Error:
[GoogleGenerativeAI Error]: Error fetching from https://monospace-pa.googleapis.com/v1/models/gemini-2.5-pro:streamGenerateContent?alt=sse: [400 Bad Request] The input token count (1263888) exceeds the maximum number of tokens allowed (1048576).
Please help me fix this issue