Tool Validation Error

I have my code linked here: GitHub - Adithyaaa1/crewai_resumematch

My issue is that when I run the gradio app and press the ‘find matching jobs’ button, the crew starts running but the job searcher agent is unable to properly complete its task, and the log shows a lengthy error message about the input type not matching. Regardless of the fixes I have made, the agent either ends up getting stuck in a loop until it times out, or it tries and fails to use the tool until it times out. I’ll paste the error message below. Any help on potential fixes would be greatly appreciated. I am using python 3.12.7 for reference.

I encountered an error while trying to use the tool. This was the error: Arguments validation failed: 1 validation error for CompanyCareerSearchToolSchema query Input should be a valid string [type=string_type, input_value={‘description’: ‘Data Scientist’, ‘type’: ‘str’}, input_type=dict] For further information visit Redirecting... . Tool Company Career Search Tool accepts these inputs: Tool Name: Company Career Search Tool Tool Arguments: {‘query’: {‘description’: None, ‘type’: ‘str’}} Tool Description: Search for job postings on company career pages using job title and company list. Input should be a JSON string with ‘job_title’ and ‘companies’ keys.