ashishja commited on
Commit
b35d938
·
verified ·
1 Parent(s): 0711de6

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +2 -2
tools.py CHANGED
@@ -25,7 +25,7 @@ YOUTUBE_CONFIRMATION_MODEL = os.getenv("YOUTUBE_CONFIRMATION_MODEL", "google/gem
25
 
26
  # Define Tools for the Agent
27
  @tool(parse_docstring=True)
28
- def download_file_from_url(url: str, filename_override: str|None = None) -> str:
29
  """
30
  Downloads a file from a URL to a directory in the cwd. Prefer to use the filename associated with the URL, but can override if directed to.
31
  Filename Logic:
@@ -98,7 +98,7 @@ def download_file_from_url(url: str, filename_override: str|None = None) -> str:
98
  # ValueError will propagate if raised
99
 
100
  @tool(parse_docstring=True)
101
- def basic_web_search(query: str, search_domains: list[str]|None = None) -> str:
102
  """
103
  Perform a web search using Tavily. Useful for retrieving relevant URLs and content summaries based on a search query.
104
  The content returned by this tool is limited. For more detailed content extraction, use the `extract_url_content` tool.
 
25
 
26
  # Define Tools for the Agent
27
  @tool(parse_docstring=True)
28
+ def download_file_from_url(url: str, filename_override: str | None = None) -> str:
29
  """
30
  Downloads a file from a URL to a directory in the cwd. Prefer to use the filename associated with the URL, but can override if directed to.
31
  Filename Logic:
 
98
  # ValueError will propagate if raised
99
 
100
  @tool(parse_docstring=True)
101
+ def basic_web_search(query: str, search_domains: list[str] | None = None) -> str:
102
  """
103
  Perform a web search using Tavily. Useful for retrieving relevant URLs and content summaries based on a search query.
104
  The content returned by this tool is limited. For more detailed content extraction, use the `extract_url_content` tool.