graphrag
graphrag copied to clipboard
Harshit 54/bugfix
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).]