Update CustomAgent.py
Browse files- CustomAgent.py +2 -2
CustomAgent.py
CHANGED
@@ -43,7 +43,7 @@ from langgraph.prebuilt import ToolNode
|
|
43 |
from langgraph.graph import START, StateGraph
|
44 |
from langgraph.prebuilt import tools_condition
|
45 |
from langchain_openai import ChatOpenAI
|
46 |
-
from
|
47 |
from other_tools import (
|
48 |
wiki_search, arvix_search, web_search, vector_search,
|
49 |
multiply, add, subtract, divide, modulus, power, square_root
|
@@ -56,7 +56,7 @@ llm = ChatOpenAI(temperature=0
|
|
56 |
, model="gpt-4o-mini", openai_api_key=os.getenv("OPENAI_KEY"))
|
57 |
|
58 |
tools = [
|
59 |
-
|
60 |
multiply, add, subtract, divide, modulus, power, square_root
|
61 |
]
|
62 |
chat_with_tools = llm.bind_tools(tools)
|
|
|
43 |
from langgraph.graph import START, StateGraph
|
44 |
from langgraph.prebuilt import tools_condition
|
45 |
from langchain_openai import ChatOpenAI
|
46 |
+
#from WebSearch import weather_info_tool
|
47 |
from other_tools import (
|
48 |
wiki_search, arvix_search, web_search, vector_search,
|
49 |
multiply, add, subtract, divide, modulus, power, square_root
|
|
|
56 |
, model="gpt-4o-mini", openai_api_key=os.getenv("OPENAI_KEY"))
|
57 |
|
58 |
tools = [
|
59 |
+
wiki_search, arvix_search, web_search,
|
60 |
multiply, add, subtract, divide, modulus, power, square_root
|
61 |
]
|
62 |
chat_with_tools = llm.bind_tools(tools)
|