Skip to content
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

Prevent loop when using slots and chaining #721

Closed
wants to merge 1 commit into from

Conversation

amendlik
Copy link

@amendlik amendlik commented May 6, 2024

Issue #, if available: N/A

Description of changes: When chaining items, if the first item in the chain contains slots, the response will contain 11 copies of the first answer, and never append the answer from the chained item. This PR fixes that issue.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@fhoueto-amz fhoueto-amz requested a review from abhirpat May 15, 2024 14:11
Copy link
Member

@fhoueto-amz fhoueto-amz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok.

@fhoueto-amz fhoueto-amz removed the request for review from abhirpat May 15, 2024 14:32
@abhirpat
Copy link
Member

abhirpat commented May 24, 2024

Hi @amendlik thank you for submitting PR. Could you also provide detailed steps to reduce this issue and how you've it configured for us to reproduce looping issue? Thank you.

@amendlik
Copy link
Author

amendlik commented Jun 6, 2024

I've attached an export of the QNA documents to reproduce the issue. It happens any time the first document includes slots and chains to a second document.
loop-bug.json

@amendlik amendlik mentioned this pull request Jun 17, 2024
6 tasks
@tmekari tmekari mentioned this pull request Jun 26, 2024
@abhirpat
Copy link
Member

Hi @amendlik , this issue should be addressed with the latest release v6.0.1. Please refer to CHANGELOG for additional details about this release. Thank You!

@abhirpat abhirpat closed this Jun 27, 2024
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.

3 participants