fix agents to run custom tools

This commit is contained in:
Dinesh Yeduguru 2024-12-20 22:02:00 -08:00
parent 9192a9bbb4
commit 2ad67529ef
4 changed files with 6 additions and 14 deletions

View file

@ -54,7 +54,6 @@ class TavilySearchToolRuntimeImpl(
"https://api.tavily.com/search",
json={"api_key": api_key, "query": args["query"]},
)
print(f"================= Tavily response: {response.json()}")
return ToolInvocationResult(
content=json.dumps(self._clean_tavily_response(response.json()))