multi agent
Browse files
human.py
CHANGED
|
@@ -47,7 +47,7 @@ def human_assistance(query: str) -> str:
|
|
| 47 |
return human_response["data"]
|
| 48 |
|
| 49 |
|
| 50 |
-
tool =
|
| 51 |
tools = [tool, human_assistance]
|
| 52 |
llm_with_tools=llm.bind_tools(tools)
|
| 53 |
|
|
|
|
| 47 |
return human_response["data"]
|
| 48 |
|
| 49 |
|
| 50 |
+
tool = TavilySearch(max_results=2)
|
| 51 |
tools = [tool, human_assistance]
|
| 52 |
llm_with_tools=llm.bind_tools(tools)
|
| 53 |
|