continue icon indicating copy to clipboard operation
continue copied to clipboard

fix: Fix the issue where the chunk index might be duplicated

Open jacob-lcs opened this issue 4 months ago • 5 comments

Description

This pull request includes a small change to the chunkDocument function in core/indexing/chunk/chunk.ts. The change simplifies the incrementation of the index variable by directly incrementing it within the object assignment. Fix the issue where the chunk index might be duplicated.

Checklist

  • [x] I've read the contributing guide
  • [x] The relevant docs, if any, have been updated or created
  • [x] The relevant tests, if any, have been updated or created

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? ]

jacob-lcs avatar Jun 09 '25 03:06 jacob-lcs