continue
continue copied to clipboard
file context provider throw error on smaill file
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:
- Continue version: 1.0.6
- IDE version: 1.96.2
- Model:
- config:
OR link to assistant in Continue hub:
Description
When I use @file in Continue to reference a file, if the code exceeds 12K or 400 lines, it directly gives me the following error: "'demo.py' is 170.1 KB which exceeds the allowed context length and cannot be processed by the model." This is clearly incorrect, as my model can handle a context of 128K tokens.
To reproduce
No response
Log output