continue icon indicating copy to clipboard operation
continue copied to clipboard

Indexing Silently Failed after updated to ≥0.8.48

Open YouJiacheng opened this issue 1 year ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS: Windows
- Continue: 0.8.49
- IDE: VS Code
- Model:
- config.json:

Description

Before I update to 0.8.49, I can get the error message.

2cdc3e3ae1fb2f0d6da3326a92c7a77

After I update to 0.8.49, I can only get "Indexing complete" with 1% progress. image

Details of the indexing error: The indexing error was caused by maxBatchSize, the API provider I used only supports maxBatchSize=32. Changing the following 128 to 32 can resolve this error. Maybe we can add a config option for maxBatchSize, but that will be a separate PR: #2163 . image

BTW, maxChunkSize and its default value should be documented. Initially I suppose the error was caused by chunk size exceeding limit. I searched in the source code and found this option. I changed it to 8192 and problem resolved, but I suddenly found that the default value is 500. Then I realized it should be a maxBatchSize problem instead of maxChunkSize.

To reproduce

No response

Log output

No response

YouJiacheng avatar Sep 02 '24 17:09 YouJiacheng