In my Searcher Agent, I’m setting: tools=[searchTool],
searchTool = SerperDevTool( api_key=srprKey, n_results=numRet )
Anyone have an idea why I’m getting the following error:
Tool Output:
Error: the Action Input is not a valid key, value dictionary.
Agent: Senior Web Searcher
Task: Perform a web search about “AI for Sustainable Development Goals” to find relevant URLs.
Agent: Senior Web Searcher
Using tool: Search the internet
Tool Input:
“{"name": "AI for Sustainable Development Goals", "description": "", "args_schema": {}, "return_direct": false, "verbose": true, "callbacks": "None", "callback_manager": "None", "tags": ["funding", "grant"], "metadata": {"search_query": "AI for Sustainable Development Goals"}, "handle_tool_error": false, "handle_validation_error": false, "response_format": "content_and_artifact", "func": "None", "coroutine": "None"}”
Tool Output:
Error: the Action Input is not a valid key, value dictionary.