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

Fix(knowledge_curation.py): Remove duplicate self.retriever assignmen… #298

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Anlans
Copy link

@Anlans Anlans commented Jan 8, 2025

This pull request addresses a minor bug in the StormKnowledgeCurationModule class within the knowledge_curation.py file. The self.retriever attribute was being assigned twice within the __init__ method.

Impact of the change:

Removing the duplicate assignment simplifies the code, improves readability, and reduces the potential for confusion or subtle errors in the future. It ensures that self.retriever is initialized only once, as intended.

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