Skip to content

Commit

Permalink
Merge pull request #1009 from winsonluk/master
Browse files Browse the repository at this point in the history
Fix max_results for Google Search
  • Loading branch information
assafelovic authored Dec 7, 2024
2 parents 0034ad0 + 2589188 commit bbbc900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt_researcher/retrievers/google/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ def search(self, max_results=7):
}
search_results.append(search_result)

return search_results
return search_results[:max_results]

0 comments on commit bbbc900

Please sign in to comment.