The input token count exceeds the maximum number of tokens allowed 1048576

Getting this continuously in interactive chat, regardless of model.

The input token count exceeds the maximum number of tokens allowed 1048576.

I AM BLOCKED

use .aiexlude file and add directories in which changes are not required while sending prompt…What is happening current that your project code is excedding 1M token while sending prompt so to avoid that limit use .aiexclude and add all files directories that dont require change currently

Create a new chat by pressing the + sign it will open a new chat with no tokens used.

The chat can only handle 1048576 tokens worth of info in the chat it has stored. This includes reading the files it is attempting to make changes to and reading the other files to see how it all works, then it also has output tokens and thinking tokens that are internal. This will eventually fill up and you have to create a new chat.