Revert "Make serpapi base url configurable via env (#4402)" (#4750)

This reverts commit 5111bec540.

This PR introduced a bug in the async API (the `url` param isn't bound);
it also didn't update the synchronous API correctly, which makes it
error-prone (the behavior of the async and sync endpoints would be
different)
This commit is contained in:
Zander Chase
2023-05-15 23:17:16 +00:00
committed by GitHub
parent 21b9397342
commit 580861e7f2
4 changed files with 5 additions and 23 deletions

View File

@@ -6,7 +6,6 @@ It is broken into two parts: installation and setup, and then references to the
## Installation and Setup
- Install requirements with `pip install google-search-results`
- Get a SerpAPI api key and either set it as an environment variable (`SERPAPI_API_KEY`)
- Optional, if you are using a proxy, set environment variable (`SERPAPI_BASE_URL`) or pass it to the LLM constructor to your proxy url.
## Wrappers