Skip to content

Harshit 54/bugfix #1938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Harshit-54
Copy link

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

  • I have tested these changes locally.
  • I have reviewed the code changes.
  • 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
Copy link
Author

Created an issue as well for the fix - #1936

@Harshit-54
Copy link
Author

Harshit-54 commented May 19, 2025

@microsoft-github-policy-service agree company="Colrows"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant