graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

Remove duplicate query from search messages

Open panjd123 opened this issue 2 months ago • 0 comments

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 query from search messages in _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

panjd123 avatar Oct 22 '25 14:10 panjd123