Update agent.py
Browse files
agent.py
CHANGED
@@ -126,7 +126,7 @@ with open("system_prompt.txt", "r", encoding="utf-8") as f:
|
|
126 |
# System message
|
127 |
sys_msg = SystemMessage(content=system_prompt)
|
128 |
|
129 |
-
|
130 |
tools = [
|
131 |
multiply,
|
132 |
add,
|
@@ -138,6 +138,9 @@ tools = [
|
|
138 |
wiki_search,
|
139 |
web_search,
|
140 |
]
|
|
|
|
|
|
|
141 |
|
142 |
# Build graph function
|
143 |
def build_graph(provider: str = "google"):
|
|
|
126 |
# System message
|
127 |
sys_msg = SystemMessage(content=system_prompt)
|
128 |
|
129 |
+
"""
|
130 |
tools = [
|
131 |
multiply,
|
132 |
add,
|
|
|
138 |
wiki_search,
|
139 |
web_search,
|
140 |
]
|
141 |
+
"""
|
142 |
+
tools = [web_search]
|
143 |
+
|
144 |
|
145 |
# Build graph function
|
146 |
def build_graph(provider: str = "google"):
|