Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -157,7 +157,7 @@ class AgentState(TypedDict):
|
|
| 157 |
|
| 158 |
|
| 159 |
def build_agent(chat):
|
| 160 |
-
tools = [get_content_tool, search_web_tool, extract_text_tool, play_chess_tool, run_code_tool]
|
| 161 |
chat_with_tools = chat.bind_tools(tools, parallel_tool_calls=False)
|
| 162 |
# The graph
|
| 163 |
builder = StateGraph(AgentState)
|
|
|
|
| 157 |
|
| 158 |
|
| 159 |
def build_agent(chat):
|
| 160 |
+
tools = [get_file_path_tool, get_content_tool, search_web_tool, extract_text_tool, play_chess_tool, run_code_tool]
|
| 161 |
chat_with_tools = chat.bind_tools(tools, parallel_tool_calls=False)
|
| 162 |
# The graph
|
| 163 |
builder = StateGraph(AgentState)
|