pull/25/head
Kye 1 year ago
parent 01b6cff1f1
commit f46765c13c

@ -2,4 +2,5 @@
from swarms.swarms import Swarms, swarm from swarms.swarms import Swarms, swarm
from swarms.agents import worker_node from swarms.agents import worker_node
from swarms.agents.workers.worker_ultra_node import WorkerUltraNode, WorkerUltra from swarms.agents.workers.worker_ultra_node import WorkerUltraNode, WorkerUltra
from swarms.agents.workers.worker_agent_ultra import worker_ultra_node from swarms.agents.workers.worker_agent_ultra import worker_ultra_node
from swarms.agents.workers.WorkerNode import WorkerNode, worker_node

@ -2304,18 +2304,18 @@ list_tool.run({})
###########=========================> ###########=========================>
#======> Calculator #======> Calculator
# from langchain import LLMMathChain from langchain import LLMMathChain
# llm_math_chain = LLMMathChain.from_llm(llm=llm, verbose=True) llm_math_chain = LLMMathChain.from_llm(llm=llm, verbose=True)
# math_tool = Tool( math_tool = Tool(
# name="Calculator", name="Calculator",
# func=llm_math_chain.run, func=llm_math_chain.run,
# description="useful for when you need to answer questions about math" description="useful for when you need to answer questions about math"
# ), ),
# #####==========================================================================> TOOLS #####==========================================================================> TOOLS
# from langchain.tools.human.tool import HumanInputRun from langchain.tools.human.tool import HumanInputRun
# from langchain.tools import BaseTool, DuckDuckGoSearchRun from langchain.tools import BaseTool, DuckDuckGoSearchRun

Loading…
Cancel
Save