graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

Harshit 54/bugfix

Open Harshit-54 opened this issue 5 months ago • 2 comments

Description

max_length was not passed in the prompt template reduce_system_prompt in Global search.py this throws an error. [Provide a brief description of the changes made in this pull request.]

Related Issues

Global search has error [Reference any related issues or tasks that this pull request addresses.]

Proposed Changes

added max_length in the parameter of _reduce_response. _stream_reduce_response already has this param. [List the specific changes made in this pull request.]

Checklist

  • [x] I have tested these changes locally.
  • [x] I have reviewed the code changes.
  • [x] I have updated the documentation (if necessary).
  • [ ] I have added appropriate unit tests (if applicable).

Additional Notes

[Add any additional notes or context that may be helpful for the reviewer(s).]

Harshit-54 avatar May 19 '25 18:05 Harshit-54