fix: remove vestigial api_base_url param that broke the Tavily web loader (#27636)
This commit is contained in:
1 file changed
-2
@@ -404,7 +404,6 @@ class SafeTavilyLoader(BaseLoader, RateLimitMixin, URLProcessingMixin):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
web_paths: Union[str, List[str]],
|
web_paths: Union[str, List[str]],
|
||||||
api_base_url: str,
|
|
||||||
api_key: str,
|
api_key: str,
|
||||||
extract_depth: Literal['basic', 'advanced'] = 'basic',
|
extract_depth: Literal['basic', 'advanced'] = 'basic',
|
||||||
continue_on_failure: bool = True,
|
continue_on_failure: bool = True,
|
||||||
@@ -438,7 +437,6 @@ class SafeTavilyLoader(BaseLoader, RateLimitMixin, URLProcessingMixin):
|
|||||||
|
|
||||||
# Store parameters for creating TavilyLoader instances
|
# Store parameters for creating TavilyLoader instances
|
||||||
self.web_paths = web_paths if isinstance(web_paths, list) else [web_paths]
|
self.web_paths = web_paths if isinstance(web_paths, list) else [web_paths]
|
||||||
self.api_base_url = api_base_url
|
|
||||||
self.api_key = api_key
|
self.api_key = api_key
|
||||||
self.extract_depth = extract_depth
|
self.extract_depth = extract_depth
|
||||||
self.continue_on_failure = continue_on_failure
|
self.continue_on_failure = continue_on_failure
|
||||||
|
|||||||
Reference in new issue
Block a user