philmui commited on
Commit
4536af0
1 Parent(s): 63a9e4c

removed some tools from LLMChain

Browse files
Files changed (1) hide show
  1. models.py +1 -2
models.py CHANGED
@@ -74,8 +74,7 @@ def load_chained_agent(verbose=True, model_name="text-davinci-003"):
74
  llm = createLLM(model_name)
75
  toolkit = [DuckDuckGoSearchRun()]
76
  toolkit += load_tools(["serpapi", "open-meteo-api", "news-api",
77
- "python_repl", "wolfram-alpha", "llm-math",
78
- "pal-math", "pal-colored-objects"],
79
  llm=llm,
80
  serpapi_api_key=os.getenv('SERPAPI_API_KEY'),
81
  news_api_key=os.getenv('NEWS_API_KEY'),
 
74
  llm = createLLM(model_name)
75
  toolkit = [DuckDuckGoSearchRun()]
76
  toolkit += load_tools(["serpapi", "open-meteo-api", "news-api",
77
+ "python_repl", "wolfram-alpha"],
 
78
  llm=llm,
79
  serpapi_api_key=os.getenv('SERPAPI_API_KEY'),
80
  news_api_key=os.getenv('NEWS_API_KEY'),