MindSearch
MindSearch copied to clipboard
Bug: Fix searcher_resp_queue not available sometimes
The graph
may not be ready when we try to access it for the first time. Sometimes the code returned by LLM (gpt4o for example), especially the first line graph = WebSearchGraph()
, has not been executed yet.
This PR adds a retry mechanism when accessing graph
, which partly fixes issue #36 #17.