graphrag
graphrag copied to clipboard
Remove duplicate query from search messages
Description
Fixed a small mistake in _stream_reduce. Just like in _stream_reduce_response, the duplicate query is unnecessary since it’s already passed as prompt.
Related Issues
N/A
Proposed Changes
- Removed the duplicate
queryfromsearch messagesin_stream_reduce
Checklist
- [x] I have tested these changes locally.
- [x] I have reviewed the code changes.
- [x] I have updated the documentation (if necessary).
- [x] I have added appropriate unit tests (if applicable).
Additional Notes
N/A