mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-29 16:05:35 +08:00
### What problem does this PR solve? Fixes a bug in the `rm_chunk` SDK interface where an `UnboundLocalError` could occur if `chunk_ids` is not provided in the request. - `unique_chunk_ids` and `duplicate_messages` are now always initialized in the `else` branch when `chunk_ids` is missing. - API behavior remains unchanged when `chunk_ids` is present. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)