mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-08-17 02:10:31 +03:00
Update api_key default value in WebSearchTool
This commit is contained in:
parent
b60a31e561
commit
2f3cbb67d2
@ -23,7 +23,7 @@ class WebSearchTool(BaseTool):
|
||||
name = "brave-web-search"
|
||||
description = "useful for when you need to search the web for something."
|
||||
args_schema: Type[BaseModel] = WebSearchInput
|
||||
api_key = os.getenv("BRAVE_SEARCH_API_KEY")
|
||||
api_key: str = os.getenv("BRAVE_SEARCH_API_KEY", "")
|
||||
|
||||
def _check_environment_variable(self) -> bool:
|
||||
"""Check if the environment variable is set."""
|
||||
|
Loading…
Reference in New Issue
Block a user