jinysun commited on
Commit
762488e
·
verified ·
1 Parent(s): c0650cf

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +5 -4
tools.py CHANGED
@@ -28,7 +28,7 @@ def make_tools(llm: BaseLanguageModel, api_keys: dict = {}, verbose=True, image
28
  )
29
 
30
  all_tools += [
31
- # browseruse(openai_api_key),
32
 
33
  rag(openai_api_key),
34
  codewriter(llm=llm ,openai_api_key= openai_api_key),
@@ -63,11 +63,12 @@ def make_tools(llm: BaseLanguageModel, api_keys: dict = {}, verbose=True, image
63
  all_tools += [WebSearch(serp_api_key)
64
  ]
65
  if image_path is not None:
66
- all_tools += [Imageanalysis(image_path, openai_api_key),
 
67
  ]
68
  if file_path is not None:
69
- all_tools += [pdfreader(file_path, openai_api_key),
70
- ]
71
 
72
  return all_tools
73
 
 
28
  )
29
 
30
  all_tools += [
31
+ browseruse(openai_api_key),
32
 
33
  rag(openai_api_key),
34
  codewriter(llm=llm ,openai_api_key= openai_api_key),
 
63
  all_tools += [WebSearch(serp_api_key)
64
  ]
65
  if image_path is not None:
66
+ all_tools += [Imageanalysis(image_path),
67
+
68
  ]
69
  if file_path is not None:
70
+ all_tools += [pdfreader(file_path),
71
+ ]
72
 
73
  return all_tools
74