mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 17:56:23 +02:00
add discovery_service_url for GoogleAPIWrapper
This commit is contained in:
parent
f9eb9cb7d2
commit
9b360265a9
2 changed files with 4 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ class SearchConfig(YamlModel):
|
|||
api_type: SearchEngineType = SearchEngineType.DUCK_DUCK_GO
|
||||
api_key: str = ""
|
||||
cse_id: str = "" # for google
|
||||
discovery_service_url: str = "" # for google
|
||||
search_func: Optional[Callable] = None
|
||||
params: dict = Field(
|
||||
default_factory=lambda: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue