Closed marksolly closed 6 days ago
You can add an 'ignore these files' list in Settings > Custom Instructions so claude does not read particular files into context. Outside of that it's hard for me to think adding a UX for this would help because you have to manually approve files before claude reads them... if you have any good ideas for this pls feel free to add it to the features request board so people can vote on it
In some cases, the logic which decides which files to provide as context will select a file that is so large it consumes the users entire Anthropic accout input token quota for the day. In my opinion, there is no point providing more than approx 50% of the models max context window, and certainly not more than 100%.
I propose two configuration options to prevent this happening:
In this example, 2.6mb of text was used as input because a hidden directory containing compiler artifacts was selected as context: claude_dev_task_sep-11-2024_12-35-12-pm.md (caution, very large text file)
Resulting error for this and all subsequent tasks: