You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 15, 2026. It is now read-only.
Maybe I means that you can create the new textinput, the user can use this textinput to set how much bacth can model use.
And you can create the more detail log, to show what you do in the code index, currently I don't know is the model not support or just is Roo Code's bug
I've opened PR #7357 with a fix for this issue: #7357
The fix includes:
Added support for text-embedding-v4 model in the OpenAI Compatible provider configuration
Enhanced error handling in the startIndexing process to properly catch and display initialization errors
User-friendly error messages that provide actionable information to help resolve configuration issues
The changes ensure that when there's a configuration error (like an unsupported model), users will see a clear error message instead of the generic error shown in your screenshot.
All tests are passing and the PR is ready for review. Feedback welcome!
Looking at your error screenshot, the actual issue is that your API provider has a batch size limit. The error message shows: "batch size is invalid. It should not be larger than 10" while the system is trying to process batches of 400 items.
The solution would be to create a new VSCode extension setting to allow users to configure the embedding batch size. This would be a proper VSCode setting (in the extension's package.json configuration contribution points), not in our internal settings view.
The setting could be something like:
roo-code.codeIndex.embeddingBatchSize
Default value: keep the current default (400 or whatever it currently is)
Users can then adjust it based on their API provider's limits (in your case, setting it to 10)
This way, users with providers that have stricter batch limits can configure it appropriately without affecting the default experience for others.
Activity
fix: improve code index error handling and add text-embedding-v4 support
BenLampson commentedon Aug 23, 2025
Maybe I means that you can create the new textinput, the user can use this textinput to set how much bacth can model use.
And you can create the more detail log, to show what you do in the code index, currently I don't know is the model not support or just is Roo Code's bug
BenLampson commentedon Aug 23, 2025
How can I test this version's roo code?
daniel-lxs commentedon Aug 27, 2025
Looking at your error screenshot, the actual issue is that your API provider has a batch size limit. The error message shows: "batch size is invalid. It should not be larger than 10" while the system is trying to process batches of 400 items.
The solution would be to create a new VSCode extension setting to allow users to configure the embedding batch size. This would be a proper VSCode setting (in the extension's package.json configuration contribution points), not in our internal settings view.
The setting could be something like:
roo-code.codeIndex.embeddingBatchSizeThis way, users with providers that have stricter batch limits can configure it appropriately without affecting the default experience for others.
daniel-lxs commentedon Aug 27, 2025
@roomote-agent create a PR based on my previous comment
feat: add configurable embedding batch size setting
hujianxin commentedon Sep 3, 2025
that not works for me