changed return type for fetch_page_content to Dict[str,str]
This commit is contained in:
parent
3c9e5f830b
commit
0a9b624010
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ async def fetch_page_content(
|
||||||
preferred_tool: Optional[Literal["tavily", "beautifulsoup"]] = "beautifulsoup",
|
preferred_tool: Optional[Literal["tavily", "beautifulsoup"]] = "beautifulsoup",
|
||||||
tavily_config: Optional[TavilyConfig] = None,
|
tavily_config: Optional[TavilyConfig] = None,
|
||||||
soup_crawler_config: Optional[SoupCrawlerConfig] = None,
|
soup_crawler_config: Optional[SoupCrawlerConfig] = None,
|
||||||
) -> Dict[str, Union[str, Dict[str, str]]]:
|
) -> Dict[str, str]:
|
||||||
"""Fetch content from one or more URLs using the specified tool.
|
"""Fetch content from one or more URLs using the specified tool.
|
||||||
|
|
||||||
This function retrieves web page content using either BeautifulSoup (with custom
|
This function retrieves web page content using either BeautifulSoup (with custom
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue