Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Jan 25, 2024
1 parent 3165634 commit b3ede34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prediction_market_agent/tools/google_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def google_search(query: str) -> list[str]:
params = {"q": query, "api_key": utils.get_serp_api_key(), "num": 4}
params = {"q": query, "api_key": utils.get_keys().serp, "num": 4}
search = serpapi.GoogleSearch(params)
urls = [result["link"] for result in search.get_dict()["organic_results"]]
return urls
Expand Down

0 comments on commit b3ede34

Please sign in to comment.