thatting commited on
Commit
c83d35c
·
verified ·
1 Parent(s): 3b01f7c

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +3 -3
tools.py CHANGED
@@ -13,7 +13,7 @@ You are a general AI assistant. I will give you a question and answer, you shoul
13
  """
14
 
15
  @tool
16
- def tool_reverse_string(text: str) -> str:
17
  """
18
  Use this tool only if you encounter text that seems to be written backwards
19
  Args:
@@ -23,7 +23,7 @@ def tool_reverse_string(text: str) -> str:
23
 
24
 
25
  @tool
26
- def tool_read_files(filepath: str) -> str:
27
  """
28
  Downloads a .py or .xlsx file from a remote URL and returns its contents as plain text.
29
  Raises a recoverable exception if the file does not end with .py or .xlsx.
@@ -60,7 +60,7 @@ def tool_read_files(filepath: str) -> str:
60
 
61
 
62
  @tool
63
- def tool_download_image(filepath: str) -> str:
64
  """
65
  Downloads an image file (.png, .jpg, .jpeg) from a remote URL and returns useful information about the image.
66
  This includes the image URL and basic metadata like dimensions and format.
 
13
  """
14
 
15
  @tool
16
+ def ToolReverseString(text: str) -> str:
17
  """
18
  Use this tool only if you encounter text that seems to be written backwards
19
  Args:
 
23
 
24
 
25
  @tool
26
+ def ToolReadFiles(filepath: str) -> str:
27
  """
28
  Downloads a .py or .xlsx file from a remote URL and returns its contents as plain text.
29
  Raises a recoverable exception if the file does not end with .py or .xlsx.
 
60
 
61
 
62
  @tool
63
+ def ToolDownloadImage(filepath: str) -> str:
64
  """
65
  Downloads an image file (.png, .jpg, .jpeg) from a remote URL and returns useful information about the image.
66
  This includes the image URL and basic metadata like dimensions and format.