Closed DanHUMassMed closed 1 month ago
User Experience:
The Problem: *The init() method of the GPTResearcher class defaults to 'web' if no report_source param is passed.
report_source
The Solution:
GPTResearcher()
_get_subtopic_report()
subtopic_assistant = GPTResearcher( query=current_subtopic_task, report_type="subtopic_report", report_source=self.report_source, # Bug Fix websocket=self.websocket, parent_query=self.query, subtopics=self.subtopics, visited_urls=self.global_urls, agent=self.main_task_assistant.agent, role=self.main_task_assistant.role )
I hope that helps if this bug has not already been tracked down.
-Dan
Hey @DanHUMassMed thanks for raising it! Fixed here: https://github.com/assafelovic/gpt-researcher/commit/9e8d1b17b67a050538876f3f7b1aef6b5f8af578
User Experience:
The Problem: *The init() method of the GPTResearcher class defaults to 'web' if no
report_source
param is passed.The Solution:
report_source
when constructing theGPTResearcher()
instance in the_get_subtopic_report()
method.I hope that helps if this bug has not already been tracked down.
-Dan