continue icon indicating copy to clipboard operation
continue copied to clipboard

file context provider throw error on smaill file

Open AndrewTsao opened this issue 6 months ago • 20 comments

Before submitting your bug report

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


AndrewTsao avatar Apr 22 '25 14:04 AndrewTsao