-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fix: Fix the issue where the chunk index might be duplicated #6037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Your cubic subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use cubic. |
All contributors have signed the CLA ✍️ ✅ |
👷 Deploy request for continuedev pending review.Visit the deploys page to approve it
|
I have read the CLA Document and I hereby sign the CLA |
✨ No issues found! Your code is sparkling clean! ✨ |
@sestinj I've updated the code, all CI checks have passed. Please take another look when you have time. If everything looks good, it can be merged. :) |
Description
This pull request includes a small change to the
chunkDocument
function incore/indexing/chunk/chunk.ts
. The change simplifies the incrementation of theindex
variable by directly incrementing it within the object assignment. Fix the issue where the chunk index might be duplicated.Checklist
Screenshots
[ For visual changes, include screenshots. Screen recordings are particularly helpful, and appreciated! ]
Tests
[ What tests were added or updated to ensure the changes work as expected? ]