Hi all,
I’m running the lab 2 code from the course, but I get this error when the agent tries to use EXASearchTool:
I encountered an error while trying to use the tool. This was the error: Arguments validation failed: 1 validation error for EXABaseToolSchema
include_domains
Input should be a valid list [type=list_type, input_value='None', input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/list_type.
Tool EXASearchTool accepts these inputs:
Tool Name: EXASearchTool
Tool Arguments: {
'search_query': {'description': 'Mandatory search query you want to use to search the internet', 'type': 'str'},
'start_published_date': {'description': 'Start date for the search', 'type': 'UnionType[str, NoneType]'},
'end_published_date': {'description': 'End date for the search', 'type': 'UnionType[str, NoneType]'},
'include_domains': {'description': 'List of domains to include in the search', 'type': 'UnionType[list[str], NoneType]'}
}
Tool Description: Search the internet using Exa
Has anyone else run into this?
Any guidance would be appreciated.
Thanks.