diff --git a/tavily/async_tavily.py b/tavily/async_tavily.py index 33c6c29..a3159bc 100644 --- a/tavily/async_tavily.py +++ b/tavily/async_tavily.py @@ -202,6 +202,7 @@ async def _search( start_date: str = None, end_date: str = None, days: int = None, + max_hours: int = None, max_results: int = None, include_domains: Sequence[str] = None, exclude_domains: Sequence[str] = None, @@ -230,6 +231,7 @@ async def _search( "start_date": start_date, "end_date": end_date, "days": days, + "max_hours": max_hours, "include_answer": include_answer, "include_raw_content": include_raw_content, "max_results": max_results, @@ -272,6 +274,7 @@ async def search(self, start_date: str = None, end_date: str = None, days: int = None, + max_hours: int = None, max_results: int = None, include_domains: Sequence[str] = None, exclude_domains: Sequence[str] = None, @@ -300,6 +303,7 @@ async def search(self, start_date=start_date, end_date=end_date, days=days, + max_hours=max_hours, max_results=max_results, include_domains=include_domains, exclude_domains=exclude_domains, diff --git a/tavily/tavily.py b/tavily/tavily.py index 3be7dab..349f000 100644 --- a/tavily/tavily.py +++ b/tavily/tavily.py @@ -173,6 +173,7 @@ def _search(self, start_date: str = None, end_date: str = None, days: int = None, + max_hours: int = None, max_results: int = None, include_domains: Sequence[str] = None, exclude_domains: Sequence[str] = None, @@ -202,6 +203,7 @@ def _search(self, "start_date": start_date, "end_date": end_date, "days": days, + "max_hours": max_hours, "include_answer": include_answer, "include_raw_content": include_raw_content, "max_results": max_results, @@ -247,6 +249,7 @@ def search(self, start_date: str = None, end_date: str = None, days: int = None, + max_hours: int = None, max_results: int = None, include_domains: Sequence[str] = None, exclude_domains: Sequence[str] = None, @@ -275,6 +278,7 @@ def search(self, start_date=start_date, end_date=end_date, days=days, + max_hours=max_hours, max_results=max_results, include_domains=include_domains, exclude_domains=exclude_domains,