This fixes an inconsistency in the return type of the Bing retriever.
It could return a list or None. However, the calling code assumed the result was always a list. As a result, the entire researcher would fail if the Bing retriever reached any code path that returned None.
This PR makes the Bing retriever always return a list, consistent with other retrievers.
This fixes an inconsistency in the return type of the Bing retriever.
It could return a list or
None
. However, the calling code assumed the result was always a list. As a result, the entire researcher would fail if the Bing retriever reached any code path that returnedNone
.This PR makes the Bing retriever always return a list, consistent with other retrievers.